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

ClassedHTMLGenerator generates Empty <span></span> tags. #273

Closed
uwearzt opened this issue Dec 2, 2019 · 2 comments · Fixed by #276
Closed

ClassedHTMLGenerator generates Empty <span></span> tags. #273

uwearzt opened this issue Dec 2, 2019 · 2 comments · Fixed by #276

Comments

@uwearzt
Copy link
Contributor

uwearzt commented Dec 2, 2019

See output of ClassedHTMLGenerator example.

@uwearzt
Copy link
Contributor Author

uwearzt commented Dec 2, 2019

part of output from examples/synhtml-css-classes.rs (formatted):

...
      <span class="meta group rust">
        <span class="string quoted double rust">
          <span class="punctuation definition string begin rust">&quot;</span>Hello World!<span class="punctuation definition string end rust">&quot;</span>
        </span>
        <span class="meta group rust"></span>
      </span>
      <span class="meta group rust">
        <span class="punctuation section group end rust">)</span>
      </span>
...

that leads to:

  1. larger file sizes in html
  2. warning i.e. from Firefox developer tools

@uwearzt
Copy link
Contributor Author

uwearzt commented Jan 6, 2020

Thanks for the merge 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant