소스 검색

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>