Changeset 5635 for trunk/build.xml


Ignore:
Timestamp:
May 18, 2011, 9:26:37 PM (12 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1607: Help text generation creates invalid xml

The fix generates the help descriptions with <![CDATA[...]]> sections instead of doing a search-and-replace afterwards for encoding the html tags. This seems to work quite well and the file is a lot more readable than before.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r5634 r5635  
    13721372          <param name="xsltproc.option.--nonet"  expression="" />
    13731373      </xslt>
    1374 
    1375     <replaceregexp
    1376       file="data/helptexts.xml"
    1377       match="&lt;(?!/?name|/?description|/?helpitem|/?helptexts)(/?([a-z]+)[^>]*)&gt;"
    1378       replace="&amp;lt;\$1&amp;gt;"
    1379       flags="sg"
    1380     />
    13811374  </target>
    13821375 
Note: See TracChangeset for help on using the changeset viewer.