toptensoftware / markdowndeep

Open-source implementation of Markdown for C# and Javascript
268 stars 120 forks source link

PrepareImage doesn't allow for complex processing #13

Open synhershko opened 12 years ago

synhershko commented 12 years ago

For example, if I want to format an image with a litebox, there doesn't seem to be a way to wrap the img tag with a custom div or a tags

Changing the function signature from PrepareImage(HtmlTag, bool) to PrepareImage(ref HtmlTag, bool) should do the trick. Will it be safe to do that?