We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b71379 commit 890b8a1Copy full SHA for 890b8a1
1 file changed
ietf/utils/soup2text.py
@@ -87,7 +87,7 @@ def render(node, encoding='latin-1', pre=False):
87
blocks.append(child.text+"\n\n")
88
node.is_block = True
89
else:
90
- if child.name in space_tags and not (words[-1] and words[-1][-1] in [" ", "\t", "\n"]):
+ if child.name in space_tags and not (words and words[-1] and words[-1][-1] in [" ", "\t", "\n"]):
91
words.append(" ")
92
words.append(child.text)
93
0 commit comments