My addon’s description has included some markdown since it was first added. Just recently, the markdown has started being printed literally with no influence on the formatting, rather than being hidden and modifying the formatting. Does anyone know what might have caused this? I’ve tried reducing the description to “hello world”, but the markup still shows in the output.
Here’s the addon with the problematic description:
We recently added support for rendering Markdown in descriptions on addons.mozilla.org. It looks like the problem you’re experiencing may be directly related to that change.
Right now the UI implies that the content of the description is always Markdown, but unfortunately that’s not quite accurate. For clarity, the styling you’re using in your description appears to be HTML, not Markdown.
Raw HTML
<b>DATA STYLES - TREE</b><br/>
If tab trees are important, these additional list styles include tab hierarchy. <I>(Not available in the Android version)</I>
<ul>
<li><b>Line Separated (Tree Indented)</b> - Same as "Line Separated", but urls are indented to show the current tab tree.</li>
<li><b>HTML Links (Tree Indented)</b> - Same as "HTML Links", but links are indented to show the current tab tree.</li>
<li><b>JSON Tree</b> - Tabs are shown as a JSON object hierarchy.</li>
</ul>
Rendered HTML
DATA STYLES - TREE
If tab trees are important, these additional list styles include tab hierarchy. (Not available in the Android version)
Line Separated (Tree Indented) - Same as "Line Separated", but urls are indented to show the current tab tree.
HTML Links (Tree Indented) - Same as "HTML Links", but links are indented to show the current tab tree.
JSON Tree - Tabs are shown as a JSON object hierarchy.
Raw Markdown
**DATA STYLES - TREE**
If tab trees are important, these additional list styles include tab hierarchy. *(Not available in the Android version)*
- **Line Separated (Tree Indented)** - Same as "Line Separated", but urls are indented to show the current tab tree.
- **HTML Links (Tree Indented)** - Same as "HTML Links", but links are indented to show the current tab tree.
- **JSON Tree** - Tabs are shown as a JSON object hierarchy.
Rendered Markdown
DATA STYLES - TREE
If tab trees are important, these additional list styles include tab hierarchy. (Not available in the Android version)
Line Separated (Tree Indented) - Same as “Line Separated”, but urls are indented to show the current tab tree.
HTML Links (Tree Indented) - Same as “HTML Links”, but links are indented to show the current tab tree.
JSON Tree - Tabs are shown as a JSON object hierarchy.
Yes. I understand that HTML tags were working before the markdown support was added, but now markdown is necessary, rather than HTML. I’ve switched over and the problem is (mostly) resolved. Thanks!