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
69 stars 38 forks source link

xref with format=title to a section with name containing <br> causes incorrect output #503

Open ietf-svn-bot opened 4 years ago

ietf-svn-bot commented 4 years ago

type_defect | by julian.reschke@gmx.de



Issue migrated from trac:503 at 2022-02-08 07:06:52 +0000

ietf-svn-bot commented 4 years ago

@julian.reschke@gmx.de uploaded file br-tests.clean-indented-v3.xml (1.2 KiB)

ietf-svn-bot commented 4 years ago

@julian.reschke@gmx.de uploaded file br-tests.v3.txt (2.0 KiB)

ietf-svn-bot commented 4 years ago

@julian.reschke@gmx.de commented


Output it:


2.  Line
    Break

   This section has a line break in the title.

   And here's a reference to the title: LineBreak.

Should be:

2.  Line
    Break

   This section has a line break in the title.

   And here's a reference to the title: Line Break.
ietf-svn-bot commented 4 years ago

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