This commit is contained in:
Kovid Goyal 2025-02-16 08:37:18 +05:30
commit 12426edda1
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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: