Brickster / pretty-markdown

Sublime Text plugin for beatifying a markdown file when saving.
MIT License
0 stars 0 forks source link

convert_italics formats text that is bold and italics despite not needing to #10

Closed Brickster closed 10 years ago

Brickster commented 10 years ago

For the following text:

**_bold and italics_**

the method convert_italics(text, '_') should do nothing. The underscores are already as they should be. Instead the text is changed to:

_*_bold and italics_*_

which is clearly wrong.

Brickster commented 10 years ago

It took a lot of hacking but I got this working.