#2819 Markdown help causes "Error adding <br> tags"

v1.0.0
closed
sf-2 (994)
General
nobody
2015-08-20
2011-09-16
No

Our own markdown help logs an error:

00:00:34,280 ERROR [allura.lib.markdown_extensions] Error adding <br> tags: new text is <p><b>this will be bold</b><br/>you should escape &lt;unknown&gt; tags<br/>&copy; special entities work<br/>&amp;copy; if you want to escape it</p>
Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/lib/markdown_extensions.py", line 278, in run
    new_node = markdown.etree.fromstring(unicode(BeautifulSoup(new_text)))
  File "<string>", line 85, in XML
SyntaxError: undefined entity: line 1, column 77

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-09-30
    • size: --> 2
     
  • Jenny Steele

    Jenny Steele - 2011-10-03
    • status: open --> in-progress
    • assigned_to: Jenny Steele
     
  • Jenny Steele

    Jenny Steele - 2011-10-03

    Fix is on allura js/2819. Just hit any page that renders the markdown help like /p/test/home/markdown_syntax/ and make sure the error doesn't happen.

     
  • Jenny Steele

    Jenny Steele - 2011-10-03
    • status: in-progress --> code-review
    • assigned_to: Jenny Steele --> Rick Copeland ☕
     
  • Rick Copeland - 2011-10-05
    • status: code-review --> closed
     
  • Rick Copeland - 2011-10-05

    merged to dev.

     

Log in to post a comment.