A hash character inside a markdown table

Brian Henning <[email protected]>
Newsgroups gmane.text.doxygen.general
Message-ID <[email protected]>
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&#35;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&amp;#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

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j

_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.