Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUB and SUP tag is not working #1031

Closed
pashupatisah112 opened this issue Sep 17, 2023 · 6 comments
Closed

SUB and SUP tag is not working #1031

pashupatisah112 opened this issue Sep 17, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@pashupatisah112
Copy link

I am using flutter
sdk: ">=2.17.3 <3.0.0"
flutter_widget_from_html: ^ 0.10.5+3
Dart version: 2.19.6

@pashupatisah112 pashupatisah112 added the bug Something isn't working label Sep 17, 2023
@daohoangson
Copy link
Owner

What is your HTML? You are using Flutter 3.3?

@pashupatisah112
Copy link
Author

Flutter 3.7.10
My HTML has square and base ..consists of mathematical formulae.

@daohoangson
Copy link
Owner

Without specific HTML to troubleshoot, it's hard to figure out the problem and fix it. Can you share your HTML?

@pashupatisah112
Copy link
Author

pashupatisah112 commented Sep 18, 2023

<div class="code-block ng-star-inserted">
<pre style="margin-top: 0px; margin-bottom: 0px;"><code class="code-container no-decoration-radius" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-kerning: auto; font-optical-sizing: auto; font-feature-settings: normal; font-variation-settings: normal; font-stretch: normal; font-size: 0.875rem; line-height: 1.125rem; font-family: 'Google Sans Mono', monospace; color: var(--bard-color-on-surface-variant); background-color: var(--bard-color-code-block-background); border-radius: 16px; padding: 16px; display: block; overflow-x: auto; direction: ltr;" role="text">2PbO &rarr; 2Pb + <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>o</mi><mn>2</mn></msub></math>
</code></pre>
</div>
<p>&nbsp;</p>
<div class="code-block ng-star-inserted">
<p style="margin: 0px;"><code class="code-container no-decoration-radius" style="font: 400 0.875rem / 1.125rem 'Google Sans Mono', monospace; letter-spacing: normal; color: var(--bard-color-on-surface-variant); background-color: var(--bard-color-code-block-background); border-radius: 16px; padding: 16px; display: block; overflow-x: auto; direction: ltr;" role="text"><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>C</mi><mi>u</mi><mi>O</mi></math> + <math xmlns="http://www.w3.org/1998/Math/MathML"><mn>2</mn><mi>H</mi><mi>C</mi><mi>l</mi></math> &rarr; <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>C</mi><mi>u</mi></math><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>C</mi><msub><mi>l</mi><mn>2</mn></msub></math> + <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>H</mi><mn>2</mn></msub><mi>O</mi></math></code></p>
</div>

@daohoangson
Copy link
Owner

Your HTML is using MathML to render, support for that is still in progress. See #471

@pashupatisah112
Copy link
Author

Thank you for your support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants