mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-22 06:29:14 -04:00
Improved markdown rendering
This commit is contained in:
parent
b4a063a4e7
commit
54000a72c7
3 changed files with 23 additions and 16 deletions
|
@ -1527,7 +1527,7 @@ class SidebandApp(MDApp):
|
|||
|
||||
def md_to_bbcode(self, text):
|
||||
if not hasattr(self, "mdconv"):
|
||||
from md2bbcode.main import process_readme as mdconv
|
||||
from .md2bbcode.main import process_readme as mdconv
|
||||
self.mdconv = mdconv
|
||||
converted = self.mdconv(text)
|
||||
while converted.endswith("\n"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue