check: new markers can be comments

This commit is contained in:
Cyrille L 2022-11-19 17:06:06 +01:00
parent 1ed0b86082
commit dcce2983c2
2 changed files with 1 additions and 2 deletions

View File

@ -771,7 +771,7 @@ def check_new_marker(line3):
new_marker = False
for marker in markers_opt:
if line3.startswith(marker):
if line3.startswith(marker) or line3.startswith('#'):
new_marker = True
#=================#

View File

@ -459,7 +459,6 @@ def convert_bcodes(article, fm, lm, css):
if line.startswith(lm):
bCode = False
print(bCode_lines)
convert_to_b64(bCode_lines)
bCode_lines = ''
article_temp = '%s\n%s\n%s'%(