Skip to content

fix: add word boundray to check markdown italic#41466

Merged
mjbvz merged 2 commits intomicrosoft:masterfrom
mikaoelitiana:fix-40787
Jan 24, 2018
Merged

fix: add word boundray to check markdown italic#41466
mjbvz merged 2 commits intomicrosoft:masterfrom
mikaoelitiana:fix-40787

Conversation

@mikaoelitiana
Copy link
Contributor

fixes #40787

<dict>
<key>begin</key>
<string>(?x)
(\*|_)(?=\S) # Open
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please update markdown.tmLanguage.base as well. We use that file to generate this one. You can run the generator using (cd extensions/markdown; npm run update-grammar)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line 3371 must be changed from
<string>(?&lt;=\S)(\1)((?!\1)|(?=\1\1))</string>
to
<string>(?&lt;=\S)(\1)((?!\1)|(?=\1\1))\b</string>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for review. I will fix that today

@msftclas
Copy link

msftclas commented Jan 17, 2018

CLA assistant check
All CLA requirements met.

@mjbvz mjbvz added this to the January 2018 milestone Jan 24, 2018
@mjbvz mjbvz merged commit 2472a47 into microsoft:master Jan 24, 2018
@mjbvz
Copy link
Collaborator

mjbvz commented Jan 24, 2018

Thanks! This will be in the next insiders build and is on track for VS Code 1.20

@mikaoelitiana
Copy link
Contributor Author

mikaoelitiana commented Jan 24, 2018 via email

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Markdown incorrect styling in editor

4 participants