Open twsh opened 8 years ago
On a similar issue,
hello ** world **
is highlighted as bold, even though it should not (see https://pandoc.org/MANUAL.html#emphasis or just test it). Interestingly enough,
hello * world *
is correctly NOT highlighted as emphasis.
The escaped asterisk ('*') is treated as the end of emphasis, and the real end of emphasis is treated as the start of a new emphasis. The whole line ends up highlighted. But escaped asterisks are literal asterisks, so presumably they shouldn't be treated in this way.