mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Add class attribute for \mathbb in XHTML output.
Patch from Josh.
This commit is contained in:
parent
04b8f5cdc4
commit
e3625b5b80
@ -203,9 +203,15 @@ void InsetMathFont::mathmlize(MathStream & os) const
|
||||
// no support at present for textipa, textsc, noun
|
||||
|
||||
if (!variant.empty()) {
|
||||
os << MTag("mstyle", "mathvariant='" + variant + "'")
|
||||
<< cell(0)
|
||||
<< ETag("mstyle");
|
||||
if (tag == "mathbb") {
|
||||
os << MTag("mstyle", "class='mathbb' mathvariant='" + variant + "'")
|
||||
<< cell(0)
|
||||
<< ETag("mstyle");
|
||||
} else {
|
||||
os << MTag("mstyle", "mathvariant='" + variant + "'")
|
||||
<< cell(0)
|
||||
<< ETag("mstyle");
|
||||
}
|
||||
} else
|
||||
os << cell(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user