Issue #8 resolved

> becomes >

Eric Boo
created an issue

Hi,

1) I'm trying to do a block quote and always the ">" becomes ">" after I click save.

Happens with both mezzanine_pagedown.widgets.PlainWidget and mezzanine_pagedown.widgets.PageDownWidget.

2) In fact, style attributes are stripped from html elements like <div style="float: left;">

Comments (4)

  1. Ahmad Khayyat repo owner

    Thanks for the report, Eric Boo

    1) I will look into this, but it may take a while. Patches welcome.

    2) Are you writing HTML in your Markdown? I am curious as to why you would need to write style attributes in Markdown. If this is a different issue from 1), please create a separate issue report for it.

  2. Ahmad Khayyat repo owner

    The proper solution is RICHTEXT_FILTER_LEVEL = 3.

    Version 0.5 of mezzanine-pagedown runs the clean filter (HTML sanitizing) after converting Markdown to HTML.

  3. Log in to comment