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
$ echo '<code>x</code> <code>y</code>' | htmlq -p body <body><code>x</code><code>y</code> </body>%
Here "blank" text node means a text node contains only whitespaces.
Since <code>x</code> <code>y</code> and <code>x</code><code>y</code> give different rendering output, htmlq changes the semantic of this HTML snippet.
<code>x</code> <code>y</code>
<code>x</code><code>y</code>
htmlq
It seems the condition on line 70 (see code snippet below) is too loose. Not sure if self.previous_was_block && text.trim().is_empty() is enough.
self.previous_was_block && text.trim().is_empty()
htmlq/src/pretty_print.rs
Lines 69 to 81 in 739cd36
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here "blank" text node means a text node contains only whitespaces.
Since
<code>x</code> <code>y</code>
and<code>x</code><code>y</code>
give different rendering output,htmlq
changes the semantic of this HTML snippet.It seems the condition on line 70 (see code snippet below) is too loose. Not sure if
self.previous_was_block && text.trim().is_empty()
is enough.htmlq/src/pretty_print.rs
Lines 69 to 81 in 739cd36
The text was updated successfully, but these errors were encountered: