Asterisks for bold and italic don't work in a div in some cases
-
From this post.
If I write this:
<div>*This should be bold*</div>
<div>*This should be italic*</div>I'd expect to obtain this:
This should be boldThis should be italicInstead I get this:
\**This should be bold**\*This should be italic*`. Wrapping the div in a blockquote fixes it.Regexes... ¯\(ツ)/¯
-