mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
12426edda1
@ -389,7 +389,7 @@ class FFMLProcessor:
|
||||
if tree.node_kind() == NodeKinds.BLANK_LINE:
|
||||
result += '\n\n'
|
||||
elif tree.node_kind() == NodeKinds.BOLD_TEXT:
|
||||
indent_text(f'**{tree.text()}**')
|
||||
indent_text(("\\ " if result.endswith("?") else "") + f'**{tree.text()}**')
|
||||
elif tree.node_kind() == NodeKinds.CHARACTER:
|
||||
result += tree.text()
|
||||
elif tree.node_kind() == NodeKinds.CODE_BLOCK:
|
||||
|
Loading…
x
Reference in New Issue
Block a user