mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-13 06:58:40 +00:00
* Ignore `font' groups when determining base elements, fixes #390 * fix === * Added testcase
This commit is contained in:
committed by
Kevin Barabash
parent
e4d2d933af
commit
a16ae7a5eb
@@ -135,6 +135,8 @@ var getBaseElem = function(group) {
|
||||
} else {
|
||||
return group;
|
||||
}
|
||||
} else if (group.type === "font") {
|
||||
return getBaseElem(group.value.body);
|
||||
} else {
|
||||
return group;
|
||||
}
|
||||
|
Reference in New Issue
Block a user