浏览代码

HPCC-15278 DOCS:HTML-CHM Linebreak support

Fix HPCC-15278 DOCS:HTML-CHM Linebreak support
Add support for <?linebreak?> procesing instruction
to the HTML generating XSLT

Signed-off-by: G-Pan <greg.panagiotatos@lexisnexis.com>
G-Pan 8 年之前
父节点
当前提交
0cad48b944
共有 2 个文件被更改,包括 14 次插入1 次删除
  1. 7 0
      docs/BuildTools/EclipseHelp.xsl
  2. 7 1
      docs/BuildTools/EclipseHelp.xsl.in

+ 7 - 0
docs/BuildTools/EclipseHelp.xsl

@@ -30,4 +30,11 @@
 <xsl:param name="variablelist.as.table" select="1" />
 <xsl:param name="generate.toc">book toc</xsl:param>
 
+
+<!--HPCC-15278-GP-3-17-PI-HTML-HACK--> 
+ <xsl:template match="processing-instruction('linebreak')">
+   <BR/>
+ </xsl:template>
+
+
 </xsl:stylesheet>

+ 7 - 1
docs/BuildTools/EclipseHelp.xsl.in

@@ -10,7 +10,7 @@
      $: EclipseHelp.xsl 1676 2013-09-23 16:20:PanaG :$
      ********************************************************************
 
-     This file is used by EclipseHelp Intended to generate Eclispe Help.
+     This file is used by EclipseHelp to generate HTML based Eclispe Help Files.
      It is based on the XSL DocBook Stylesheet distribution from Norman Walsh.
      Modified and customized for HPCC Systems by GPanagiotatos - 2013
 
@@ -30,4 +30,10 @@
 <xsl:param name="toc.section.depth">1</xsl:param>
 <xsl:param name="generate.toc">book toc</xsl:param>
 
+<!--FIX-HPCC-15278-GP-3-17--> 
+ <xsl:template match="processing-instruction('linebreak')">
+   <BR/>
+ </xsl:template>
+
+
 </xsl:stylesheet>