Эх сурвалжийг харах

In XHTML output, readded the XML declaration
and changed the media type from text/html to application/xhtml+xml.
Done here to test possibles mirrors issues.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4171 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Manuel Canales Esparcia 21 жил өмнө
parent
commit
3879ebc975

+ 3 - 0
Makefile

@@ -26,6 +26,9 @@ lfs:
 
 
 	sh goTidy $(BASEDIR)/
 	sh goTidy $(BASEDIR)/
 
 
+	for filename in `find $(BASEDIR) -name "*.html"`; do \
+	  sed -i -e "s@text/html@application/xhtml+xml@g" $$filename; \
+	done;
 #
 #
 # This is the old "pdf" target. The old "print" target below has been
 # This is the old "pdf" target. The old "print" target below has been
 # renamed to "pdf" and will be used. This commented out previous_pdf
 # renamed to "pdf" and will be used. This commented out previous_pdf

+ 2 - 2
stylesheets/lfs-chunked2.xsl

@@ -23,8 +23,8 @@
     <!-- Dropping some unwanted style attributes -->
     <!-- Dropping some unwanted style attributes -->
   <xsl:param name="ulink.target" select="''"></xsl:param>
   <xsl:param name="ulink.target" select="''"></xsl:param>
   <xsl:param name="css.decoration" select="0"></xsl:param>
   <xsl:param name="css.decoration" select="0"></xsl:param>
-  
+
     <!-- No XML declaration -->
     <!-- No XML declaration -->
-  <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
+<!--  <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/> -->
 
 
 </xsl:stylesheet>
 </xsl:stylesheet>