mathml

This tag just returns a Math tag with the famous Einstein equation.

Created by: hackvertor
Installed 1 times

Viewed: 0

Category: XSS

Created on: Monday, July 7, 2025 at 5:55:56 PM

Updated on: Monday, July 7, 2025 at 5:55:56 PM

This is a built in tag
Tag arguments
[]
Code
class mathml {
  encode(input) {
    return `<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mrow>
    <mi>E</mi>
    <mo>=</mo>
    <mi>m</mi>
    <msup>
      <mi>c</mi>
      <mn>2</mn>
    </msup>
  </mrow>
</math>
`;
  }
}