Changeset 107:d1f02e9c2ed1

Show
Ignore:
Timestamp:
06/27/09 17:37:37 (1 year ago)
Author:
Daniele Varrazzo <piro@develer.com>
branch:
default
Message:

Allow horizontal lines and paragraph breaks in Markdown safe mode too.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lib/sct/sphenecoll/sphene/contrib/libs/markdown/markdown.py

    r40 r107  
    14891489        for i in range(self.htmlStash.html_counter) : 
    14901490            html = self.htmlStash.rawHtmlBlocks[i] 
    1491             if self.safeMode
     1491            if self.safeMode and html not in (u'<hr />', u'<br />')
    14921492                html = "[HTML_REMOVED]" 
    14931493