8000 Discard whitespace between shorthand id/class names · Issue #97 · pelme/htpy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Discard whitespace between shorthand id/class names #97

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

Closed
pelme opened this issue Apr 2, 2025 · 0 comments · Fixed by #100
Closed

Discard whitespace between shorthand id/class names #97

pelme opened this issue Apr 2, 2025 · 0 comments · Fixed by #100

Comments

@pelme
Copy link
Owner
pelme commented Apr 2, 2025

if one introduces some extra whitespace in the id/class shorthand, the whitespace is not properly stripped:

>>> print(h.span('#a .b .c'))
<span id="a " class="b  c"></span>

we should just get rid of the extra spaces.

@pelme pelme changed the title Discard whitespace between class names Discard whitespace between shorthand id/class names Apr 2, 2025
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
0