We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<ruby> is an inline tag, yet the minifier is removing all whitespace that surrounds it.
<ruby>
<p>I love to eat <ruby lang="fr">pain au chocolat<rt lang="en-US">chocolate croissants</rt></ruby> and éclairs.</p>
I would not expect the above line to have any changes.
I am actually getting this output:
<p>I love to eat<ruby lang="fr">pain au chocolat<rt lang="en-US">chocolate croissants</rt></ruby> and éclairs.</p>
Which would get displayed like this in a browser:
I love to eatpain au chocolatand éclairs.
<rp>
⚠️ You will also need to test and potentially correct whitespace in/around <rp>. E.g.:
<p>I love to eat <ruby lang="fr">pain au chocolat<rp> (</rp><rt lang="en-US">chocolate croissants</rt><rp>)</rp></ruby> and éclairs.</p>
ℹ️ Notice the space before the opening parenthesis in the first <rp>.
This was found in html-minifier version 3.5.6.
html-minifier
3.5.6
The text was updated successfully, but these errors were encountered:
Pull Request welcomed.
Sorry, something went wrong.
e7bcf16
No branches or pull requests
<ruby>
is an inline tag, yet the minifier is removing all whitespace that surrounds it.Example
Input
Expected
I would not expect the above line to have any changes.
Actual
I am actually getting this output:
Which would get displayed like this in a browser:
<rp>
<rp>
. E.g.:ℹ️ Notice the space before the opening parenthesis in the first
<rp>
.also
This was found in
html-minifier
version3.5.6
.The text was updated successfully, but these errors were encountered: