Skip to content

Commit

Permalink
New attempt: added the nl2br markdown extension
Browse files Browse the repository at this point in the history
  • Loading branch information
victor5lm committed Jun 25, 2024
1 parent d154669 commit 9b9f659
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bu_isciii/bioinfo_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def post_delivery_info(self):

if self.provided_txt:
with open(os.path.expanduser(self.provided_txt)) as f:
self.delivery_notes = "\n".join([x.strip() for x in f.readlines()])
self.delivery_notes = f.read()
else:
self.delivery_notes = bu_isciii.utils.ask_for_some_text(
msg="Write some delivery notes:"
Expand Down Expand Up @@ -388,6 +388,7 @@ def convert_markdown_to_html(self, mk_text):
"pymdownx.highlight",
"pymdownx.emoji",
"pymdownx.tilde",
"nl2br",
],
extension_configs={
"pymdownx.b64": {
Expand Down

0 comments on commit 9b9f659

Please sign in to comment.