*/
public String handleNote(final Map<String, String> attributes, final String contents) throws SAXException {
String id = attributes.get("id");
- String code = "<table><tr><td valign=\"top\"><img src=\"" + getBaseImagePath() + "ScilabNote.png\"/></td><td valign=\"top\">" + encloseContents("div", "note", contents) + "</tr></table>";
+ String code = "<table><tr><td valign=\"top\"><img src=\"" + getBaseImagePath() + "ScilabNote.png\"/></td><td valign=\"top\">" + encloseContents("div", "note", contents) + "</td></tr></table>";
if (id != null) {
return "<a name=\"" + id + "\"></a>" + code;
} else {
*/
public String handleWarning(final Map<String, String> attributes, final String contents) throws SAXException {
String id = attributes.get("id");
- String code = "<table><tr><td valign=\"top\"><img src=\"" + getBaseImagePath() + "ScilabWarning.png\"/></td><td valign=\"top\">" + encloseContents("div", "warning", contents) + "</tr></table>";
+ String code = "<table><tr><td valign=\"top\"><img src=\"" + getBaseImagePath() + "ScilabWarning.png\"/></td><td valign=\"top\">" + encloseContents("div", "warning", contents) + "</td></tr></table>";
if (id != null) {
return "<a name=\"" + id + "\"></a>" + code;
} else {
*/
public String handleCaution(final Map<String, String> attributes, final String contents) throws SAXException {
String id = attributes.get("id");
- String code = "<table><tr><td valign=\"top\"><img src=\"" + getBaseImagePath() + "ScilabCaution.png\"/></td><td valign=\"top\">" + encloseContents("div", "caution", contents) + "</tr></table>";
+ String code = "<table><tr><td valign=\"top\"><img src=\"" + getBaseImagePath() + "ScilabCaution.png\"/></td><td valign=\"top\">" + encloseContents("div", "caution", contents) + "</td></tr></table>";
if (id != null) {
return "<a name=\"" + id + "\"></a>" + code;
} else {
*/
public String handleTip(final Map<String, String> attributes, final String contents) throws SAXException {
String id = attributes.get("id");
- String code = "<table><tr><td valign=\"top\"><img src=\"" + getBaseImagePath() + "ScilabTip.png\"/></td><td valign=\"top\">" + encloseContents("div", "tip", contents) + "</tr></table>";
+ String code = "<table><tr><td valign=\"top\"><img src=\"" + getBaseImagePath() + "ScilabTip.png\"/></td><td valign=\"top\">" + encloseContents("div", "tip", contents) + "</td></tr></table>";
if (id != null) {
return "<a name=\"" + id + "\"></a>" + code;
} else {
*/
public String handleImportant(final Map<String, String> attributes, final String contents) throws SAXException {
String id = attributes.get("id");
- String code = "<table><tr><td valign=\"top\"><img src=\"" + getBaseImagePath() + "ScilabImportant.png\"/></td><td valign=\"top\">" + encloseContents("div", "important", contents) + "</tr></table>";
+ String code = "<table><tr><td valign=\"top\"><img src=\"" + getBaseImagePath() + "ScilabImportant.png\"/></td><td valign=\"top\">" + encloseContents("div", "important", contents) + "</td></tr></table>";
if (id != null) {
return "<a name=\"" + id + "\"></a>" + code;
} else {