mirror of https://gitlab.com/bashrc2/epicyon
Code within pre
parent
c3f4ab8633
commit
31017ab46d
|
@ -291,8 +291,8 @@ def _markdown_replace_code(markdown: str) -> str:
|
||||||
lines[start_line] = '<code>'
|
lines[start_line] = '<code>'
|
||||||
lines[line_ctr] = '</code>'
|
lines[line_ctr] = '</code>'
|
||||||
if urlencode:
|
if urlencode:
|
||||||
lines[start_line] = '<pre>'
|
lines[start_line] = '<pre>\n<code>'
|
||||||
lines[line_ctr] = '</pre>'
|
lines[line_ctr] = '</code>\n</pre>'
|
||||||
|
|
||||||
section_active = False
|
section_active = False
|
||||||
changed = True
|
changed = True
|
||||||
|
|
Loading…
Reference in New Issue