On 11/15/2011 05:38 PM, Raphael Hertzog wrote: > Hello, > > I don't have the habit to discuss decisions of maintainers but in this > particular case I would like the feedback of the wider community > on this specific bug report that got closed as NOTABUG despite > feedback from the upstream community proving that publican > was doing the weird thing here. > > https://bugzilla.redhat.com/show_bug.cgi?id=752851 > > The upstream docbook-xsl stylesheets do preserve whitespaces and > linebreaks in inlines elements within verbatim environment. > > Do any of you have any document where you need the current Publican > behaviour of converting any sequence of whitespace/newlines to a single > space in inline tags within verbatim environments? > > To me this behaviour just ensures that I'll never be able to use > any inline element within a verbatim tag because I'll lose > the formatting of my <screens> <programlisting> and so on. > It's really counter-productive IMO and I can't really see who > would like to lose his formatting... > > Cheers,
Interesting problem. You can achieve the result you want, it just means that if you use an non-verbatim inline element within a verbatim tag you have to close it when you want to force a line break. Which makes sense. Inheriting also makes a kind of sense. Are there any other examples of elements inheriting behaviour from the block level element that encloses them? Or is this the only potential case for this kind of behaviour in Docbook? - Josh _______________________________________________ publican-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/publican-list Wiki: https://fedorahosted.org/publican
