django-markdown-deux
django-markdown-deux copied to clipboard
<br> elements showing up in lists
When the break-on-newline setting is set to True, line breaks are inserted into lists.
settings.py
MARKDOWN_DEUX_STYLES = {
"default": {
"extras": {
"break-on-newline": True,
}
}
}
For example, when this setting is enabled a markdown list with nested list items renders like this:

To me, it would make sense if the line breaks were not rendered within list element so that the appearence would look more like this:

Would you consider this a bug?
did you resolve this? I have the same issue
Hi @oskarko, I resolved this by not using the django-markdown-deux package. Sadly it does not appear to be actively maintained. I'd recommend taking a look at one of the core markdown packages for Python such as https://pypi.python.org/pypi/Markdown as an alternative.