AndersDJohnson / AndersDJohnson/htmlcompressor

Adding a line break before a tag

Aperta
#59 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
auto-migrated Priority-Medium Type-Defect
Lingua principale
Java
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

```
What steps will reproduce the problem?
1.Create a jsp/html file containing ...
2.Run the compresson

What is the expected output? What do you see instead?

tag is goint part of the compressed line and rest of the contents of
the script tag and is as is. I would like to have the tag as
is too or I need to add a line break before <script>

What version of the product are you using? On what operating system?
1.4.3

Please provide any additional information below.

There are no issues with this on the browser in html rendering, but we have a
parser for transforming html to pdf and we are seeing issues because of this.
And we dont want to touch that parser code at this time, pls help on adding a
line break before <script> or leaving <script> tag as is without moving it to
the compressed line.

Thank you and Appreciate your help.

```

Original issue reported on code.google.com by `rmul...@gmail.com` on 1 Nov 2011 at 2:18

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.