Skip to content

Commit 75b0f0d

Browse files
committed
Fixed a bug in the RFC Index parsing that caused extraction of only one paragraph of an abstract, even if there were multiple.
- Legacy-Id: 15820
1 parent fbcdcfa commit 75b0f0d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

ietf/sync/rfceditor.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@
2828
MIN_INDEX_RESULTS = 5000
2929

3030
def get_child_text(parent_node, tag_name):
31+
text = []
3132
for node in parent_node.childNodes:
3233
if node.nodeType == Node.ELEMENT_NODE and node.localName == tag_name:
33-
return node.firstChild.data
34-
return None
34+
text.append(node.firstChild.data)
35+
return '\n\n'.join(text)
3536

3637

3738
def fetch_queue_xml(url):

0 commit comments

Comments
 (0)