Revision
26408 -
Directory Listing
-
[select for diffs]
Modified
Sat Jan 8 12:04:39 2011 UTC
(11 years, 4 months ago)
by
fvlankvelt
Diff to
previous 25484
HTMLCLEANER-35: apply patch
Patch supplied by Marijan Milicevic:
- adding generics (where possible)
- checks for string.length ==0 instead of equals("")
- other, small micro performance improvements, like zero array allocations
- foreach loops instead of for loops (with k, z, etc loop variables, which is really confusing and error prone)
- removed unnecessary castings
Revision
24286 -
Directory Listing
-
[select for diffs]
Modified
Tue Oct 12 09:04:09 2010 UTC
(11 years, 7 months ago)
by
jjoachimsthal
Diff to
previous 23873
HTMLCLEANER-32 only add a p in table cell if there is already a block element. Otherwise the cell contains tabular data which doesn't need a p.
Small refactoring for readability and reusing the same String.
Added unittest for this.
Revision
23868 -
Directory Listing
-
[select for diffs]
Modified
Tue Sep 7 22:11:11 2010 UTC
(11 years, 8 months ago)
by
abogaart
Diff to
previous 23422
HTMLCLEANER-31: Prevent HtmlSerializer from outputting script element as self-closing (<script />)
- added check for hardcoded set of nonSelveClosingEmptyElements (currently contains only 'script')
Revision
23397 -
Directory Listing
-
[select for diffs]
Modified
Tue Jul 6 09:37:25 2010 UTC
(11 years, 10 months ago)
by
abogaart
Diff to
previous 22583
HTMLCLEANER-30 - <style> element outside of the <head> is removed, but character data is preserved
- Character data in <style> elements found outside of the <head> are now skipped.
- Added unit test for <head> and <style> cleanup, as well a lineWidth test
Revision
22580 -
Directory Listing
-
[select for diffs]
Modified
Wed Apr 28 11:15:40 2010 UTC
(12 years, 1 month ago)
by
abogaart
Diff to
previous 22425
HTMLCLEANER-27 - Whitespace characters (including non-breaking-space) inside body/td/th/blockquote should not be wrapped in a <p> element
- fixed and added test
Revision
22410 -
Directory Listing
-
[select for diffs]
Modified
Fri Apr 9 13:57:02 2010 UTC
(12 years, 1 month ago)
by
abogaart
Diff to
previous 22405
HTMLCLEANER-26: Allow easier debugging of intermediate cleanup results
- added slf4j and debug statements for intermediate results of cleanup method
Revision
22405 -
Directory Listing
-
[select for diffs]
Modified
Fri Apr 9 13:40:20 2010 UTC
(12 years, 1 month ago)
by
abogaart
Diff to
previous 22403
HTMLCLEANER-25: Add possibility for elements like <p> to contain a non-breaking-space + new-line char and NOT be removed by the cleanupBrsAndEmptyContentBlocks step
- added configuration option (default is true) that allows SingleWhitesSpaceElements (like <p> </p>) to ignore trailing NewLine characters.
- added check to introduceParas step to tests if a char[] inside the body element is actually only whitespace and if so, ignores it instead of wrapping it inside a <p> element
Revision
22403 -
Directory Listing
-
[select for diffs]
Modified
Fri Apr 9 13:28:15 2010 UTC
(12 years, 1 month ago)
by
abogaart
Diff to
previous 22372
HTMLCLEANER-24: Remove m1 poms and update m2 pom
- Compile against 1.5
- bumped to 1.02.00-SNAPSHOT
- added jrebel profile
Revision
18985 -
Directory Listing
-
[select for diffs]
Modified
Fri Jul 24 05:54:20 2009 UTC
(12 years, 10 months ago)
by
jjoachimsthal
Diff to
previous 18891
HTMLCLEANER-14 add missing license and notice files. Were missing since the HTMLCleaner was separated from Hippo Cocoon Extensions
Revision
18346 -
Directory Listing
-
[select for diffs]
Modified
Tue Jun 2 15:33:41 2009 UTC
(12 years, 11 months ago)
by
abogaart
Diff to
previous 16410
HTMLCLEANER-10: Add option to configure a set of elements that are allowed to contain a single whitespace character
http://issues.onehippo.com/browse/HTMLCLEANER-10
- Added option to configure a set of elements that are allowed to contain a single whitespace char and not be removed.
- Each element can force the single whitespace char to be a non-breaking space