xml2rfc
xml2rfc copied to clipboard
extraneous blank lines in rendering of <dl> in text
type_defect
| by [email protected]
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
@[email protected] changed status from new
to accepted