|
|
@ -186,7 +186,7 @@ public final class htmlFilterWriter extends Writer {
|
|
|
|
// we are not collection tag text
|
|
|
|
// we are not collection tag text
|
|
|
|
if (tag == null) {
|
|
|
|
if (tag == null) {
|
|
|
|
// and this is not a tag opener/closer
|
|
|
|
// and this is not a tag opener/closer
|
|
|
|
if (scraper != null) scraper.scrapeText(content, false);
|
|
|
|
if (scraper != null) scraper.scrapeText(content, null);
|
|
|
|
if (transformer != null) return transformer.transformText(content);
|
|
|
|
if (transformer != null) return transformer.transformText(content);
|
|
|
|
return content;
|
|
|
|
return content;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -221,7 +221,7 @@ public final class htmlFilterWriter extends Writer {
|
|
|
|
// we are collection tag text for the tag 'filterTag'
|
|
|
|
// we are collection tag text for the tag 'filterTag'
|
|
|
|
if (tag == null) {
|
|
|
|
if (tag == null) {
|
|
|
|
// go on collecting content
|
|
|
|
// go on collecting content
|
|
|
|
if (scraper != null) scraper.scrapeText(content, true);
|
|
|
|
if (scraper != null) scraper.scrapeText(content, filterTag);
|
|
|
|
if (transformer != null) {
|
|
|
|
if (transformer != null) {
|
|
|
|
filterCont.append(transformer.transformText(content));
|
|
|
|
filterCont.append(transformer.transformText(content));
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|