hassanakbar4 / tractive-test

0 stars 0 forks source link

prevent line breaks when seriesInfo/@name is DOI #296

Closed hassanakbar4 closed 3 years ago

hassanakbar4 commented 9 years ago

component_Version 2 cli resolution_fixed type_enhancement | by arusso@amsl.com


This is a request for preventing the line break after the "/" or after "DOI" in the text output and nroff output. Seems this could be handled as a special case when name="DOI".

XML contains

<seriesInfo name='DOI' value='10.17487/RFC2119'/>

v2 output:

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/
              RFC2119, March 1997,
              <http://www.rfc-editor.org/info/rfc2119>.

Desired output:

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119, 
              DOI 10.17487/RFC2119, March 1997,
              <http://www.rfc-editor.org/info/rfc2119>.

Issue migrated from trac:296 at 2021-10-20 18:20:12 +0500

hassanakbar4 commented 9 years ago

@{"email"=>"julian.reschke@gmx.de", "name"=>nil, "username"=>nil} commented


I'd recommend not to worry about the TXT output that much.

hassanakbar4 commented 9 years ago

@{"email"=>"ietf@augustcellars.com", "name"=>nil, "username"=>nil} commented


Fixed by the use of zwbs following the slash. Additionally, I replaced the space prior to the value with a nbsp. This will also prevent a break between BCP and 14 as well.

hassanakbar4 commented 9 years ago

@{"email"=>"ietf@augustcellars.com", "name"=>nil, "username"=>nil} changed status from new to closed

hassanakbar4 commented 9 years ago

@{"email"=>"ietf@augustcellars.com", "name"=>nil, "username"=>nil} changed resolution from ` tofixed`