ietf-tools / xml2rfc

Generate RFCs and IETF drafts from document source in XML according to the IETF xml2rfc v2 and v3 vocabularies
https://ietf-tools.github.io/xml2rfc/
BSD 3-Clause "New" or "Revised" License
65 stars 38 forks source link

<iref> not handled correctly by text writer when child of <aside> #627

Open ietf-svn-bot opened 3 years ago

ietf-svn-bot commented 3 years ago

type_defect | by jennifer@painless-security.com


The fix for #620 allows an <iref> to be used in all its allowed contexts except as a direct child of an <aside>. This fails for the TextWriter writer. To see the failure, uncomment the example in the tests/input/indexes.xml test.

This occurs after the render_aside() method hands its work off to the text_or_block_renderer(), which gets a list of Line objects when it expects a list of strings. I have not sorted out exactly why this is happening.


Issue migrated from trac:627 at 2022-02-08 07:14:42 +0000

ietf-svn-bot commented 3 years ago

@rjsparks@nostrum.com changed status from new to accepted