Fix bf command

This commit is contained in:
Lucas Alber
2018-12-17 19:13:04 +01:00
parent 5d8db858b0
commit feee4e5e6b

View File

@@ -260,9 +260,9 @@ public class HTMLtoLaTeXBackEnd extends HTMLEditorKit.ParserCallback {
} else if (tag == HTML.Tag.P) {
ret.append("\n\n");
} else if (tag == HTML.Tag.B) {
ret.append("{\\textbf ");
ret.append("{\\bfseries ");
} else if (tag == HTML.Tag.STRONG) {
ret.append("{\\textbf ");
ret.append("{\\bfseries ");
} else if (tag == HTML.Tag.A) {
refurl = (String) attrSet.getAttribute(HTML.Attribute.HREF);
doPrintURL = (String) attrSet.getAttribute("doprinturl");