From 1856113cdd20886921bfba149d3fe60141536e2f Mon Sep 17 00:00:00 2001 From: Samuel Gougeon Date: Mon, 19 Aug 2013 09:51:58 +0200 Subject: [PATCH] Bug 12808 fixed: Add missing in doc generation (note, warning, ...) Change-Id: I9078df8ec0c28551dc427ba956a1e9dda123808f --- scilab/CHANGES_5.5.X | 2 ++ .../modules/helptools/HTMLDocbookTagConverter.java | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/scilab/CHANGES_5.5.X b/scilab/CHANGES_5.5.X index 19fcad0..690583e 100644 --- a/scilab/CHANGES_5.5.X +++ b/scilab/CHANGES_5.5.X @@ -533,3 +533,5 @@ Bug fixes * Bug #12779 fixed - savewave() had a miscoding in the internal function write_wavedat(). * Bug #12783 fixed - There were some inconsistent error messages in dsearch(). + +* Bug #12808 fixed - Add missing in doc generation (note, warning, ...). \ No newline at end of file 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 f2c60ee..7368411 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 @@ -1702,7 +1702,7 @@ public class HTMLDocbookTagConverter extends DocbookTagConverter implements Temp */ public String handleNote(final Map attributes, final String contents) throws SAXException { String id = attributes.get("id"); - String code = "
" + encloseContents("div", "note", contents) + "
"; + String code = "
" + encloseContents("div", "note", contents) + "
"; if (id != null) { return "" + code; } else { @@ -1719,7 +1719,7 @@ public class HTMLDocbookTagConverter extends DocbookTagConverter implements Temp */ public String handleWarning(final Map attributes, final String contents) throws SAXException { String id = attributes.get("id"); - String code = "
" + encloseContents("div", "warning", contents) + "
"; + String code = "
" + encloseContents("div", "warning", contents) + "
"; if (id != null) { return "" + code; } else { @@ -1736,7 +1736,7 @@ public class HTMLDocbookTagConverter extends DocbookTagConverter implements Temp */ public String handleCaution(final Map attributes, final String contents) throws SAXException { String id = attributes.get("id"); - String code = "
" + encloseContents("div", "caution", contents) + "
"; + String code = "
" + encloseContents("div", "caution", contents) + "
"; if (id != null) { return "" + code; } else { @@ -1753,7 +1753,7 @@ public class HTMLDocbookTagConverter extends DocbookTagConverter implements Temp */ public String handleTip(final Map attributes, final String contents) throws SAXException { String id = attributes.get("id"); - String code = "
" + encloseContents("div", "tip", contents) + "
"; + String code = "
" + encloseContents("div", "tip", contents) + "
"; if (id != null) { return "" + code; } else { @@ -1770,7 +1770,7 @@ public class HTMLDocbookTagConverter extends DocbookTagConverter implements Temp */ public String handleImportant(final Map attributes, final String contents) throws SAXException { String id = attributes.get("id"); - String code = "
" + encloseContents("div", "important", contents) + "
"; + String code = "
" + encloseContents("div", "important", contents) + "
"; if (id != null) { return "" + code; } else { -- 1.7.9.5