@brightspace-ui/core 2.10.5 → 2.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/helpers/mathjax.js +1 -1
- package/package.json +1 -1
package/helpers/mathjax.js
CHANGED
|
@@ -68,7 +68,7 @@ export class HtmlBlockMathRenderer {
|
|
|
68
68
|
// This work-around should be removed when linebreaks are natively supported.
|
|
69
69
|
// MathJax issue: https://github.com/mathjax/MathJax/issues/2312
|
|
70
70
|
// A duplicate that explains our exact issue: https://github.com/mathjax/MathJax/issues/2495
|
|
71
|
-
const inner = elem.innerHTML.
|
|
71
|
+
const inner = elem.innerHTML.replace(/<mspace linebreak="newline">/gi, '<mspace linebreak="newline" style="display: block; height: 0.5rem;">');
|
|
72
72
|
|
|
73
73
|
const temp = document.createElement('div');
|
|
74
74
|
temp.style.display = 'none';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.6",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|