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

Jeff Fearn jfearn at redhat.com
Thu Jul 11 23:11:31 UTC 2013


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.

-- 
Jeff Fearn <jfearn at redhat.com>
Senior Software Engineer
Infrastructure Engineering & Development (AEU)
Red Hat Asia Pacific Pty Ltd
GPG: 0x0357E8F0




More information about the publican-list mailing list