fix: add word boundray to check markdown italic (#41466)

* fix: add word boundray to check markdown italic

* fix: update markdown.tmLanguage.base
This commit is contained in:
Mika Andrianarijaona
2018-01-24 17:40:25 +01:00
committed by Matt Bierner
parent ad79d802dd
commit 2472a47bc8
2 changed files with 4 additions and 4 deletions

View File

@@ -808,7 +808,7 @@
<dict>
<key>begin</key>
<string>(?x)
(\*|_)(?=\S) # Open
\b(\*|_)(?=\S) # Open
(?=
(
&lt;[^&gt;]*+&gt; # HTML tags
@@ -858,7 +858,7 @@
</dict>
</dict>
<key>end</key>
<string>(?&lt;=\S)(\1)((?!\1)|(?=\1\1))</string>
<string>(?&lt;=\S)(\1)((?!\1)|(?=\1\1))\b</string>
<key>name</key>
<string>markup.italic.markdown</string>
<key>patterns</key>