[Doxygen-users] A hash character inside a markdown table
Brought to you by:
dimitri
From: Brian H. <bhe...@pi...> - 2016-05-10 16:50:14
|
Hi, I'm trying to display a hash inside a string inside a markdown table. Here is the source: -0.5 | P#B2 | -2<sup>-1</sup> This results in the following HTML for the center column: <td>P::B2 </td> If I try HTML entity such as this: -0.5 | P#B2 | -2<sup>-1</sup> <!-- Markdown gobbles the # character, so use HTML entity; actual format string is P#B2 --> Then the entity ends up escaped in the HTML: <td>P&#35;B2 </td> I tried removing the inline HTML comment to make sure it wasn't causing the problem, and it made no difference. Why is the ampersand getting escaped? How do I prevent it, or otherwise stop markdown from parsing the # character? Thanks, -B |