Hi Christopher, > -----Original Message----- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Monday, November 10, 2014 3:39 PM > To: Tomcat Developers List > Subject: Re: svn commit: r1637684 - /tomcat/trunk/webapps/docs/ssl- > howto.xml > > Konstantin, > > On 11/10/14 4:54 AM, Konstantin Kolinko wrote: > > 2014-11-10 6:51 GMT+03:00 Christopher Schultz > <ch...@christopherschultz.net>: > >> Konstantin, > >> > >> On 11/9/14 10:12 AM, kkoli...@apache.org wrote: > >>> Author: kkolinko > >>> Date: Sun Nov 9 15:12:29 2014 > >>> New Revision: 1637684 > >>> > >>> URL: http://svn.apache.org/r1637684 > >>> Log: > >>> Minor corrections: > >>> - Remove '\' at end-of-line when wrapping long lists of command > arguments. Such character makes no sense on Windows ('^' is used there). > >>> I think that readers should be wise enough to unwrap the lines, and > unwrapping is easier when you do not have to delete stray '\' characters. > >> > >> It would probably be better to write the command on a single long line > >> and have the browser auto-wrap the code. That way, copy/paste will > work > >> properly onto the command-line. > >> > >> I believe Konstantin Preißer recently changed some of the CSS classes to > >> allow word-wrapping in <code</code> elements... not sure about > <source>. > > > > r1371336 ? > > I'm not sure that's it, but the changes Konstantin Preißer was making > included fixing things like (not) wrapping in source slippets.
I think you mean the "wrapped" attribute: <source wrapped="true"> (...) </source> This will render a <pre> with style "white-space: pre-wrap;" so that text can be wrapped while the browser still preserves the whitespaces (space, newline) of the text node when displaying the text. This was changed with r1517778 - before that, when specifying wrapped="true" the XSL would render the text in a <div> element without "white-space: pre-wrap" (so the browser would not preserve the whitespaces). Regards, Konstantin Preißer --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org