Skip to content

Commit

Permalink
fix(pb-formula): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
HelenaSabel authored Dec 11, 2024
1 parent cd95621 commit bace492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pb-formula.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function _initMath(context, formulas) {
source = formula.innerHTML.replaceAll(/&\w+;/g, function (m) {
return {
'&': '&',
'&lt' : '<'
'&lt;' : '<'
}[m];
});
chtml = window.MathJax.tex2chtml(source, options);
Expand Down Expand Up @@ -201,4 +201,4 @@ export class PbFormula extends LitElement {
`;
}
}
customElements.define('pb-formula', PbFormula);
customElements.define('pb-formula', PbFormula);

0 comments on commit bace492

Please sign in to comment.