Skip to content

Commit

Permalink
fix: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
jhefferman-sfdc committed Dec 6, 2024
1 parent 6e6c722 commit cf45746
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,44 @@
<image class="lwc-4q9u0sqsfc0" xlink:title="title"/>
</svg>
<math class="lwc-4q9u0sqsfc0">
<mi class="lwc-4q9u0sqsfc0">
π
</mi>
<mo class="lwc-4q9u0sqsfc0">
</mo>
<msup class="lwc-4q9u0sqsfc0">
<mi class="lwc-4q9u0sqsfc0">
r
</mi>
<mrow class="lwc-4q9u0sqsfc0">
<mrow class="lwc-4q9u0sqsfc0">
<msup class="lwc-4q9u0sqsfc0">
<mi class="lwc-4q9u0sqsfc0">
x
</mi>
<mn class="lwc-4q9u0sqsfc0">
2
</mn>
</msup>
<mo class="lwc-4q9u0sqsfc0">
+
</mo>
<mrow class="lwc-4q9u0sqsfc0">
<mn class="lwc-4q9u0sqsfc0">
4
</mn>
<mo class="lwc-4q9u0sqsfc0">
</mo>
<mi class="lwc-4q9u0sqsfc0">
x
</mi>
</mrow>
<mo class="lwc-4q9u0sqsfc0">
+
</mo>
<mn class="lwc-4q9u0sqsfc0">
4
</mn>
</mrow>
<mo class="lwc-4q9u0sqsfc0">
=
</mo>
<mn class="lwc-4q9u0sqsfc0">
2
0
</mn>
</msup>
</mrow>
</math>
<svg class="lwc-4q9u0sqsfc0">
<pattern class="lwc-4q9u0sqsfc0">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,29 @@
<image xlink:title="title"></image>
</svg>
<math>
<mi>π<!-- p --></mi>
<mo><!-- &InvisibleTimes; --></mo>
<msup>
<mi>r</mi>
<mn>2</mn>
</msup>
<!-- TODO [#5015]: add self closing element MathML test once supported by engine-server -->
<mrow>
<mrow>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<mo>+</mo>
<mrow>
<mn>4</mn>
<mo></mo>
<mi>x</mi>
</mrow>
<mo>+</mo>
<mn>4</mn>
</mrow>
<mo>=</mo>
<mn>0</mn>
</mrow>
</math>
<!-- Rendered with inner-html -->
<svg>
<pattern lwc:inner-html={foreignNamespaceInnerHtml}></pattern>
<image xlink:title="title"></image>
</svg>
</template>
</template>

0 comments on commit cf45746

Please sign in to comment.