AndersDJohnson / AndersDJohnson/htmlcompressor

Adding a line break before a tag

オープン
#59 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
auto-migrated Priority-Medium Type-Defect
主要言語
Java
スター
1
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

```
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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。