[publican-list] clean_ids strips carriage returns inside <screen> tags

David O'Brien daobrien at redhat.com
Fri Jul 12 04:23:28 UTC 2013


On 07/12/2013 09:11 AM, Jeff Fearn wrote:
> On 07/12/2013 01:11 AM, David O'Brien wrote:
>> Is this by design or accident?
>>
>> e.g., if you use <screen> tags to display a multi-line command, and
>> then use a backslash and CR to indicate that the command continues on
>> the next line, clean_ids strips out the CR.
>>
>> This seems at odds with what DocBook expects of <screen>:
>>
>> 'This element is displayed “verbatim”; whitespace and linebreaks
>> within this element are significant. Screens are usually displayed in
>> a fixed width font.'
>>
>> Same thing happens in <programlisting>, but that's not really the
>> right tag to be using anyway.
>>
>> Using version=3.0.0 on F16 (yes, I'm a bit behind).
>>
>> Cheers
>
> At a guess I'd say the back slash isn't being handled properly and
> having it at the end of the line is tricking the code. Try adding a
> space after the backslash, if that works then this is definitely the
> problem.
>
> Cheers, Jeff.
>
Tried that, and this time on version=3.1.5 on CSB. Same result :(

thanks

-- 

/David




More information about the publican-list mailing list