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
71 stars 39 forks source link

no indentation of nested <ol> and <ul> in <blockquote> in txt output #1148

Closed rvanrheenen closed 3 months ago

rvanrheenen commented 4 months ago

When nested <ol> and <ul> are used within <blockquote>, there is no indentation in the txt output (the indentation in the html and pdf outputs looks good). See Sections 5.2, 5.3, 5.4, and 5.5 in the following test files.

For example, in Section 5.5 in the following txt file, (1), (2), (3), (4), (5), and (6) should be indented under (g); in addition, (i) and (ii) should be even further indented under (4) and (6). However, they are all left aligned in the text output. The indentation is correct in the html and pdf outputs. The lists also indent correctly in the txt output when <blockquote> is removed.

https://www.rfc-editor.org/v3test/rfc9618-TEST.xml https://www.rfc-editor.org/v3test/rfc9618-TEST.txt https://www.rfc-editor.org/v3test/rfc9618-TEST.html https://www.rfc-editor.org/v3test/rfc9618-TEST.pdf

Code of Conduct