mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-13 15:08:39 +00:00
\Improve MathML for \colorbox and \fcolorbox (#1914)
* Add border color * Fix lint errors * Edit to persuade flow its okay. * Add \colorbox
This commit is contained in:
@@ -608,11 +608,16 @@ exports[`A MathML builder should use <menclose> for colorbox 1`] = `
|
||||
<math>
|
||||
<semantics>
|
||||
<mrow>
|
||||
<menclose mathbackground="red">
|
||||
<mpadded width="+6pt"
|
||||
height="+6pt"
|
||||
lspace="3pt"
|
||||
voffset="3pt"
|
||||
mathbackground="red"
|
||||
>
|
||||
<mtext>
|
||||
b
|
||||
</mtext>
|
||||
</menclose>
|
||||
</mpadded>
|
||||
</mrow>
|
||||
<annotation encoding="application/x-tex">
|
||||
\\colorbox{red}{b}
|
||||
|
Reference in New Issue
Block a user