Use monospace for preformatted text

pull/215/head
M66B 5 months ago
parent 55daa86f7a
commit 2aaa3e96d4

@ -3910,7 +3910,7 @@ public class HtmlHelper {
case "pre": case "pre":
case "tt": case "tt":
// Signature // Signature
setSpan(ssb, StyleHelper.getTypefaceSpan("Cousine", context), start, ssb.length()); setSpan(ssb, StyleHelper.getTypefaceSpan("monospace", context), start, ssb.length());
break; break;
case "style": case "style":
// signatures // signatures
@ -3970,7 +3970,7 @@ public class HtmlHelper {
if (monospaced_pre && if (monospaced_pre &&
"true".equals(element.attr("x-plain"))) "true".equals(element.attr("x-plain")))
setSpan(ssb, StyleHelper.getTypefaceSpan("Cousine", context), start, ssb.length()); setSpan(ssb, StyleHelper.getTypefaceSpan("monospace", context), start, ssb.length());
} catch (Throwable ex) { } catch (Throwable ex) {
Log.e(ex); Log.e(ex);
} }

Loading…
Cancel
Save