-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
Collections use the same formatting as annotations it seems. But with certain formatting the entire description breaks apart. That is, HTML tags are shown instead.
Specific test cases:
bold
bold italics
code
doc link
edit
formatted URL
headings
horizontal rule
italic
list
unformatted URL
https://musicbrainz.org/collection/d64d5a09-1ce7-4799-b6af-ab4dfab6a880
= h1 = == h2 == === h3 === ==== h4 ==== ===== h5 ===== ====== h6 ====== ======= h7 ======= ======== h8 ======== lol, more than 6 headings ---- ''italic'' '''bold''' '''''bold italics''''' interesting, using certain text formatting triggers a <br> instead of <p> angle brackets are escaped :) * list item * code (meh) edit #12345 [Edit_Note] [https://musicbrainz.org/|formatted URL] https://musicbrainz.org/ (unformatted) why not follow musicbrainz.org :( And now the fix: = h1 = didn't work :( Part 2: -https://musicbrainz.org/collection/edcd60cb-8788-4cf7-9eb6-80e81841ec68-
Page source:
<h1>h1</h1> <h2>h2</h2> <h3>h3</h3> <h4>h4</h4> <h5>h5</h5> <h6>h6</h6> <h7>h7</h7> <h8>h8</h8><p>lol, more than 6 headings</p> <hr /><p><em>italic</em><br /> <strong>bold</strong><br /> <strong><em>bold italics</strong></em><br /> interesting, using certain text formatting triggers a &lt;br&gt; instead of &lt;p&gt;<br /> angle brackets are escaped :)</p> <ul> <li>list item<ul> <li>code (meh)</li> </ul> </li> </ul> <p>edit #12345<br /> <a href="//wiki.musicbrainz.org/Edit_Note">Edit_Note</a><br /> <a href="https://musicbrainz.org/" rel="nofollow">formatted URL</a><br /> <a href="https://musicbrainz.org/" rel="nofollow">https://musicbrainz.org/</a> (unformatted)</p> <p>why not follow musicbrainz.org :(</p> <p>And now the fix:<br /> &#61; h1 &#61;</p> <p>didn't work :(</p> <p>Part 2: <a href="https://musicbrainz.org/collection/edcd60cb-8788-4cf7-9eb6-80e81841ec68" rel="nofollow">https://musicbrainz.org/collection/edcd60cb-8788-4cf7-9eb6-80e81841ec68</a></p>
https://musicbrainz.org/collection/edcd60cb-8788-4cf7-9eb6-80e81841ec68
= h1 = == h2 == === h3 === ==== h4 ==== ===== h5 ===== ====== h6 ====== Yay, it no longer breaks. \o/ * list item <p> * code (still meh) edit #12345 [Edit_Note] [https://musicbrainz.org/|formatted URL] why not follow musicbrainz.org :( [https://musicbrainz.org/] (brackets) https://musicbrainz.org/ (unformatted) So, what was breaking stuff? Text formatting like headings, bold, italics and horizontal rule. Try it out.
Page source:
<p>= h1 =<br/> == h2 ==<br/> === h3 ===<br/> ==== h4 ====<br/> ===== h5 =====<br/> ====== h6 ======</p> <p>Yay, it no longer breaks. \o/</p> <ul> <li>list item</li> </ul> <p><p></p> <ul> <li>code (still meh)</li> </ul> <p>edit #12345<br/> <a href="//wiki.musicbrainz.org/Edit_Note">Edit_Note</a><br/> <a href="https://musicbrainz.org/" rel="nofollow">formatted URL</a> why not follow musicbrainz.org :(<br/> <a href="https://musicbrainz.org/" rel="nofollow">https://musicbrainz.org/</a> (brackets)<br/> <a href="https://musicbrainz.org/" rel="nofollow">https://musicbrainz.org/</a> (unformatted)</p> <p>So, what was breaking stuff? Text formatting like headings, bold, italics and horizontal rule.<br/> Try it out.</p>
- has related issue
-
MBS-10664 Regression: HTML tags are incorrectly displayed in editor’s bio
- Closed