Skip to content

Commit

Permalink
Converted to self-closing tag to mirror markdown python library
Browse files Browse the repository at this point in the history
  • Loading branch information
jrg94 committed Jan 6, 2025
1 parent e131798 commit 5b39def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snakemd/elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def __str__(self) -> str:
if self._linebreak:
# Note: doing this the markdown way (i.e., space-space-newline)
# does not work with the current implementation of Paragraph
text = f"{text}<br>"
text = f"{text}<br />"
logger.debug("Rendered inline text: %r", text)
return text

Expand Down

0 comments on commit 5b39def

Please sign in to comment.