summaryrefslogtreecommitdiffstats
path: root/scilab/modules
diff options
context:
space:
mode:
authorSamuel GOUGEON <sgougeon@free.fr>2016-12-21 13:48:20 +0100
committerSamuel GOUGEON <sgougeon@free.fr>2016-12-21 13:48:20 +0100
commit253a8019f4fda73119f232c65c1c606624795207 (patch)
treeecdde8add2cb84ec03693c5a0034dfaf026fb602 /scilab/modules
parent070653459ef4f5fdfa8de2f52312623ae3917b52 (diff)
downloadscilab-253a8019f4fda73119f232c65c1c606624795207.zip
scilab-253a8019f4fda73119f232c65c1c606624795207.tar.gz
* Bug #13877 fixed - '<' in <screen> areas were not rendered in help browser
Change-Id: I90539c88b8781e7ad95fd815d3ba9b1085a38d2e
Diffstat (limited to 'scilab/modules')
-rw-r--r--scilab/modules/helptools/src/java/org/scilab/modules/helptools/HTMLDocbookTagConverter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/scilab/modules/helptools/src/java/org/scilab/modules/helptools/HTMLDocbookTagConverter.java b/scilab/modules/helptools/src/java/org/scilab/modules/helptools/HTMLDocbookTagConverter.java
index 14cb5ff..9d0fb32 100644
--- a/scilab/modules/helptools/src/java/org/scilab/modules/helptools/HTMLDocbookTagConverter.java
+++ b/scilab/modules/helptools/src/java/org/scilab/modules/helptools/HTMLDocbookTagConverter.java
@@ -1177,7 +1177,7 @@ public class HTMLDocbookTagConverter extends DocbookTagConverter implements Temp
1177 */ 1177 */
1178 public String handleScreen(final Map<String, String> attributes, final String contents) throws SAXException { 1178 public String handleScreen(final Map<String, String> attributes, final String contents) throws SAXException {
1179 String id = attributes.get("id"); 1179 String id = attributes.get("id");
1180 String str = encloseContents("div", "screen", encloseContents("pre", contents)); 1180 String str = encloseContents("div", "screen", encloseContents("pre", contents.replace("<", "&lt;")));
1181 if (id != null) { 1181 if (id != null) {
1182 return "<a name=\"" + id + "\"></a>" + str; 1182 return "<a name=\"" + id + "\"></a>" + str;
1183 } else { 1183 } else {