jonschlinkert / sublime-markdown-extended

Top 100 Sublime Text plugin! Markdown syntax highlighter for Sublime Text, with extended support for GFM fenced code blocks, with language-specific syntax highlighting. YAML Front Matter. Works with ST2/ST3. Goes great with Assemble.
https://github.com/jonschlinkert
MIT License
660 stars 96 forks source link

Crash inserting empty HTML element between 'bold' delimiters ** #29

Closed samsalisbury closed 8 years ago

samsalisbury commented 10 years ago

I'm using Sublime Text 2.0.2, build 2221 on Windows 8. Markdown Extended version: v2013.10.17.14.22.26

Steps to reproduce:

  1. Open a new tab in Sublime Text 2
  2. Copy this text into the tab: **Bold text paste inside here**
  3. Set the syntax to 'Markdown Extended'
  4. Copy the following into your clipboard: <span id='hello'></span>
  5. Paste this between 'paste' and 'inside' in the tab.
  6. Observe the bug: window becomes unresponsive, Windows tells you the program is not responding.
jonschlinkert commented 10 years ago

I just tested in ST3 (sorry, I can't test in ST2), and it worked fine. I'm guessing that's related to the parser in ST2. Do you have any other ideas about what might be causing it? so I can try to fix it

samsalisbury commented 10 years ago

Off the top of my head I can't think what it could be. The built-in markdown highlighter in ST2 doesn't have this issue (I'm using that for now), so it must be something different about this package/interactions between this and the parser. I'm pretty busy at the moment, but try & I'll take a look later this evening to see if I can spot anything...

jonschlinkert commented 8 years ago

closing based on age