Review using spellchecker, fixing accents and a number of typos
[project-aon.git] / common / xsl / xhtml.xsl
index fe9a737..fab55c7 100644 (file)
@@ -25,7 +25,7 @@ Todo:
             doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
 
 <xsl:strip-space elements="section data ol ul dl li dd footnotes footnote" />
-<xsl:preserve-space elements="p choice" />
+<xsl:preserve-space elements="p choice puzzle deadend" />
 
 <!-- ====================== parameters ========================== -->
 
@@ -571,6 +571,20 @@ Todo:
  <xsl:value-of select="$newline" />
 </xsl:template>
 
+<xsl:template match="puzzle">
+ <p class="puzzle">
+  <xsl:apply-templates />
+ </p>
+ <xsl:value-of select="$newline" />
+</xsl:template>
+
+<xsl:template match="deadend">
+ <p class="deadend">
+  <xsl:apply-templates />
+ </p>
+ <xsl:value-of select="$newline" />
+</xsl:template>
+
 <xsl:template match="data/signpost">
  <div class="signpost">
   <xsl:apply-templates />