mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
pep8
This commit is contained in:
parent
917079781d
commit
5c608d42a7
@ -393,7 +393,7 @@ class FFMLProcessor:
|
|||||||
t = t + ' '
|
t = t + ' '
|
||||||
result += f'``{t}``'
|
result += f'``{t}``'
|
||||||
elif tree.node_kind() == NodeKinds.CODE_BLOCK:
|
elif tree.node_kind() == NodeKinds.CODE_BLOCK:
|
||||||
result += "\n[CODE]\n" + tree.text().replace('[/CODE]', r'[\/CODE]') + "[/CODE]\n"
|
result += '\n[CODE]\n' + tree.text().replace('[/CODE]', r'[\/CODE]') + '[/CODE]\n'
|
||||||
elif tree.node_kind() == NodeKinds.END_SUMMARY:
|
elif tree.node_kind() == NodeKinds.END_SUMMARY:
|
||||||
result += '[/]'
|
result += '[/]'
|
||||||
elif tree.node_kind() == NodeKinds.ERROR_TEXT:
|
elif tree.node_kind() == NodeKinds.ERROR_TEXT:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user