Commit 47b9ad32 authored by Fabien Boucaud's avatar Fabien Boucaud
Browse files

Updating html2xhtml3.xsl with the removal of the titles' paragraph tags

parent ac0e6fcc
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl=""
xmlns:xs="" exclude-result-prefixes="xs"
xmlns="" version="2.0">
xmlns:xs="" exclude-result-prefixes="xs" version="2.0">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="//li[parent::p]" priority="1">
......@@ -33,6 +32,10 @@
<xsl:template match="p[child::h1 or child::h2 or child::h3 or child::h4 or child::h5 or child::h6]">
<xsl:apply-templates select="./*"/>
<!--Identity template,
provides default behavior that copies all content into the output -->
<xsl:template match="@*|node()">
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment