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

Problems with remove_spaces_inside_tags() #37

Open
jkr2255 opened this issue Sep 22, 2016 · 1 comment
Open

Problems with remove_spaces_inside_tags() #37

jkr2255 opened this issue Sep 22, 2016 · 1 comment

Comments

@jkr2255
Copy link

jkr2255 commented Sep 22, 2016

In current version, remove_spaces_inside_tags() is always called and cannot be disabled by option.

And this compression causes corruption in <input> value.

<!-- before -->
<input value=" value = 5 ">

<!-- after -->
<input value=" value=5 ">

So. at least either of following improvements is necessary:

  1. Create option to disable this compression
  2. Exclude attribute values from this compression
@jkr2255 jkr2255 changed the title Problems with Problems with remove_spaces_inside_tags() Sep 22, 2016
@paolochiodi
Copy link
Owner

Hi, thanks for reporting this.
I just published a new version (0.3.1) with an options to disable this compression as a quick fix... I'll work on a solution for point 2

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

No branches or pull requests

2 participants