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 ee8da9826..0ed9c89df 100644 --- a/src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java +++ b/src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java @@ -219,7 +219,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_CANONICAL_XPATH = "crawler.document.html.canonical.xpath"; - /** The key of the configuration. e.g. noscript,script,style,header,footer,nav,a[rel="nofollow"] */ + /** The key of the configuration. e.g. noscript,script,style,header,footer,nav,a[rel=nofollow] */ String CRAWLER_DOCUMENT_HTML_PRUNED_TAGS = "crawler.document.html.pruned.tags"; /** The key of the configuration. e.g. 200 */ @@ -1856,7 +1856,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,style,header,footer,nav,a[rel="nofollow"]
+ * The value is, e.g. noscript,script,style,header,footer,nav,a[rel=nofollow]
* @return The value of found property. (NotNull: if not found, exception but basically no way) */ String getCrawlerDocumentHtmlPrunedTags(); @@ -7505,7 +7505,7 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction defaultMap.put(FessConfig.CRAWLER_DOCUMENT_HTML_LANG_XPATH, "//HTML/@lang"); defaultMap.put(FessConfig.CRAWLER_DOCUMENT_HTML_DIGEST_XPATH, "//META[@name='description']/@content"); defaultMap.put(FessConfig.CRAWLER_DOCUMENT_HTML_CANONICAL_XPATH, "//LINK[@rel='canonical']/@href"); - defaultMap.put(FessConfig.CRAWLER_DOCUMENT_HTML_PRUNED_TAGS, "noscript,script,style,header,footer,nav,a[rel=\"nofollow\"]"); + defaultMap.put(FessConfig.CRAWLER_DOCUMENT_HTML_PRUNED_TAGS, "noscript,script,style,header,footer,nav,a[rel=nofollow]"); defaultMap.put(FessConfig.CRAWLER_DOCUMENT_HTML_MAX_DIGEST_LENGTH, "200"); defaultMap.put(FessConfig.CRAWLER_DOCUMENT_FILE_NAME_ENCODING, ""); defaultMap.put(FessConfig.CRAWLER_DOCUMENT_FILE_NO_TITLE_LABEL, "No title."); diff --git a/src/main/resources/fess_config.properties b/src/main/resources/fess_config.properties index 4fad110c0..b91093647 100644 --- a/src/main/resources/fess_config.properties +++ b/src/main/resources/fess_config.properties @@ -119,7 +119,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.canonical.xpath=//LINK[@rel='canonical']/@href -crawler.document.html.pruned.tags=noscript,script,style,header,footer,nav,a[rel="nofollow"] +crawler.document.html.pruned.tags=noscript,script,style,header,footer,nav,a[rel=nofollow] crawler.document.html.max.digest.length=200 # file