You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2020/02/13 15:18:55 UTC
svn commit: r1873979 - /tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl
Author: kkolinko
Date: Thu Feb 13 15:18:55 2020
New Revision: 1873979
URL: http://svn.apache.org/viewvc?rev=1873979&view=rev
Log:
Change the XSLT stylesheet for the site to use indent="no".
Modified:
tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl
Modified: tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl
URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl?rev=1873979&r1=1873978&r2=1873979&view=diff
==============================================================================
--- tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl (original)
+++ tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl Thu Feb 13 15:18:55 2020
@@ -23,10 +23,18 @@
version="3.0">
<!-- Output method -->
+ <!--
+ Note: do not set indent="yes", as that breaks formatting of <source>
+ blocks when XSLT processing is done with recent Java (e.g. 13.0.2).
+
+ An example of broken formatting
+ (see the code block at the bottom of the page):
+ https://svn.apache.org/repos/asf/tomcat/site/trunk/docs/migration-9.html?p=1873527
+ -->
<xsl:output method="html"
html-version="5.0"
encoding="UTF-8"
- indent="yes"
+ indent="no"
doctype-system="about:legacy-compat"/>
<!-- Defined parameters (overrideable) -->
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org