Code52 / DownmarkerWPF

MarkPad - a visual Markdown editor (inspired by the Downmarker project)
http://code52.org/DownmarkerWPF/
Microsoft Public License
1.4k stars 460 forks source link

#419 - Fixed Illegal characters in path #428

Closed myquay closed 9 years ago

myquay commented 10 years ago

Regex for getting the markdown link for AssociatedImages was also pulling in the optional title. Since the optional title includes a " character it was causing Path.IsPathRooted to fail.

Updated the link word boundary to exclude the optional title if present.

JakeGinnivan commented 10 years ago

Thanks!

Would be good to add a quick test for this, any chance you could do that?

myquay commented 10 years ago

Added a quick test, let me know if it's all good to go or not :)