Skip to content

creole2html using blog_line_breaks=False breaks headlines #75

@bernhardreiter

Description

@bernhardreiter
>>> import creole
>>> creole.__version__
'1.4.10'
>>> creole2html("\n== heading \n\nWiki style\\\\line breaks.", blog_line_breaks=False)
'<p>== heading </p>\n\n<p>Wiki style<br />\nline breaks.</p>'
>>> creole2html("\n== heading \n\nWiki style\\\\line breaks.", blog_line_breaks=True)
'<h2>heading</h2>\n\n<p>Wiki style<br />\nline breaks.</p>'

IMO using blog_line_breaks=True as default is not a good idea as it does not adhere to the creole 1.0 standard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions