check: new markers can be comments
This commit is contained in:
parent
1ed0b86082
commit
dcce2983c2
|
@ -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
|
||||
|
||||
#=================#
|
||||
|
|
|
@ -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'%(
|
||||
|
|
Loading…
Reference in New Issue