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

extraneous blank lines in rendering of <dl> in text #672

Open ietf-svn-bot opened 3 years ago

ietf-svn-bot commented 3 years ago

type_defect | by arusso@amsl.com


In a <dl newline="false">, there's an extraneous blank line rendered before some of the <dd>s -- see 6, 10, and 11 below. (This affects the text output; HTML and PDF are fine.)

Relevant files: https://www.rfc-editor.org/v3test/test8912.xml https://www.rfc-editor.org/v3test/test8912.txt

7.1.2.  Name

   6:
        OWDelay_Active_IP-UDP-Poisson-
        Payload250B_RFC8912sec7_Seconds_95Percentile

   7:   OWDelay_Active_IP-UDP-Poisson-
        Payload250B_RFC8912sec7_Seconds_Mean

   8:   OWDelay_Active_IP-UDP-Poisson-
        Payload250B_RFC8912sec7_Seconds_Min

   9:   OWDelay_Active_IP-UDP-Poisson-
        Payload250B_RFC8912sec7_Seconds_Max

   10:
        OWDelay_Active_IP-UDP-Poisson-
        Payload250B_RFC8912sec7_Seconds_StdDev

   11:
        OWLoss_Active_IP-UDP-Poisson-
        Payload250B_RFC8912sec7_Percent_LossRatio

Desired output:

7.1.2.  Name

   6:   OWDelay_Active_IP-UDP-Poisson-
        Payload250B_RFC8912sec7_Seconds_95Percentile

   7:   OWDelay_Active_IP-UDP-Poisson-
        Payload250B_RFC8912sec7_Seconds_Mean

   8:   OWDelay_Active_IP-UDP-Poisson-
        Payload250B_RFC8912sec7_Seconds_Min

   9:   OWDelay_Active_IP-UDP-Poisson-
        Payload250B_RFC8912sec7_Seconds_Max

   10:  OWDelay_Active_IP-UDP-Poisson-
        Payload250B_RFC8912sec7_Seconds_StdDev

   11:  OWLoss_Active_IP-UDP-Poisson-
        Payload250B_RFC8912sec7_Percent_LossRatio

[FWIW, tried a workaround (adding &zwsp; within a long line to encourage placement of a line break), but the text output still contains the extraneous blank lines as above. Also tried changing the indent attribute; no effect on the blank lines.]


Issue migrated from trac:672 at 2022-02-08 07:17:18 +0000

ietf-svn-bot commented 3 years ago

@sginoza@amsl.com commented


fyi - this also applies to section 8.1.2.

ietf-svn-bot commented 3 years ago

@kesara@staff.ietf.org changed status from new to accepted