diff --git a/src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java b/src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java index b69680526..aee6a2620 100644 --- a/src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java +++ b/src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java @@ -169,7 +169,7 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction /** The key of the configuration. e.g. //LINK[@rel='canonical']/@href */ String CRAWLER_DOCUMENT_HTML_CANNONICAL_XPATH = "crawler.document.html.cannonical.xpath"; - /** The key of the configuration. e.g. noscript,script */ + /** The key of the configuration. e.g. noscript,script,style */ String CRAWLER_DOCUMENT_HTML_PRUNED_TAGS = "crawler.document.html.pruned.tags"; /** The key of the configuration. e.g. 200 */ @@ -1317,7 +1317,7 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction /** * Get the value for the key 'crawler.document.html.pruned.tags'.
- * The value is, e.g. noscript,script
+ * The value is, e.g. noscript,script,style
* @return The value of found property. (NotNull: if not found, exception but basically no way) */ String getCrawlerDocumentHtmlPrunedTags(); diff --git a/src/main/resources/fess_config.properties b/src/main/resources/fess_config.properties index eaf092e29..147047278 100644 --- a/src/main/resources/fess_config.properties +++ b/src/main/resources/fess_config.properties @@ -98,7 +98,7 @@ crawler.document.html.content.xpath=//BODY crawler.document.html.lang.xpath=//HTML/@lang crawler.document.html.digest.xpath=//META[@name='description']/@content crawler.document.html.cannonical.xpath=//LINK[@rel='canonical']/@href -crawler.document.html.pruned.tags=noscript,script +crawler.document.html.pruned.tags=noscript,script,style crawler.document.html.max.digest.length=200 # file