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

Text output: format="title" adds extra space after RFC title that ends in a punctuation mark #629

Open ietf-svn-bot opened 3 years ago

ietf-svn-bot commented 3 years ago

type_defect | by lbartholomew@amsl.com


.html and .pdf are OK, but in .txt output, an extra space is added between the closing quote of the title and the citation string if the title ends in a punctuation mark.

In the .txt output of the files listed below, please see the citations for [RFC5218] and [RFC6305] in the first two paragraphs of Section 2.3.

https://www.rfc-editor.org/v3test/draft-irtf-panrg-what-not-to-do-19-lbtest.txt https://www.rfc-editor.org/v3test/draft-irtf-panrg-what-not-to-do-19-lbtest.xml https://www.rfc-editor.org/v3test/draft-irtf-panrg-what-not-to-do-19-lbtest.html https://www.rfc-editor.org/v3test/draft-irtf-panrg-what-not-to-do-19-lbtest.pdf


Issue migrated from trac:629 at 2022-02-08 07:14:48 +0000

ietf-svn-bot commented 3 years ago

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