On 1 March 2017 at 17:37, Felix Schumacher <[email protected]> wrote: > Am 01.03.2017 um 14:00 schrieb sebb: >> >> On 8 October 2016 at 16:26, <[email protected]> wrote: >>> >>> Author: fschumacher >>> Date: Sat Oct 8 15:26:31 2016 >>> New Revision: 1763904 >>> >>> URL: http://svn.apache.org/viewvc?rev=1763904&view=rev >>> Log: >>> Apply stylesheet recursively to code and source elements. >> >> -1 >> >> Just discovered that this has broken several pages, for example >> >> get-started.html >> 1.4.7 Logging and error messages > > I have applied a fix. I think it is OK now.
There's still an issue - most of the <pre> blocks now have spurious spaces or line-breaks. This messes up the layout. It's particularly noticeable for properties reference 20.22 - the 'mode' description Also the code items on that page have leading and/or trailing spaces which look odd. I think the change should be reverted for both <source> and <code>. The subsequent fix (r1785002) seems OK. > Thanks for spotting this. > Felix > >> >>> Modified: >>> jmeter/trunk/xdocs/stylesheets/site_printable.vsl >>> >>> Modified: jmeter/trunk/xdocs/stylesheets/site_printable.vsl >>> URL: >>> http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/site_printable.vsl?rev=1763904&r1=1763903&r2=1763904&view=diff >>> >>> ============================================================================== >>> --- jmeter/trunk/xdocs/stylesheets/site_printable.vsl (original) >>> +++ jmeter/trunk/xdocs/stylesheets/site_printable.vsl Sat Oct 8 15:26:31 >>> 2016 >>> @@ -133,7 +133,7 @@ $value.content >>> #end >>> >>> #macro ( code $value) >>> -<tt class="code">$escape.getText($value.getText())</tt> >>> +<tt class="code">#runloop($value)</tt> >>> #end >>> >>> #macro ( source $value) >>> @@ -146,7 +146,7 @@ $value.content >>> </tr> >>> <tr> >>> <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" >>> height="1" vspace="0" hspace="0" border="0"/></td> >>> -<td bgcolor="#ffffff"><pre>$escape.getText($value.getText())</pre></td> >>> +<td bgcolor="#ffffff"><pre>#runloop($value)</pre></td> >>> <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" >>> height="1" vspace="0" hspace="0" border="0"/></td> >>> </tr> >>> <tr> >>> >>> >
