Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creole2html using blog_line_breaks=False breaks headlines #75

Open
bernhardreiter opened this issue Jun 30, 2023 · 0 comments
Open

creole2html using blog_line_breaks=False breaks headlines #75

bernhardreiter opened this issue Jun 30, 2023 · 0 comments

Comments

@bernhardreiter
Copy link

>>> 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant