我在锚标签中使用了图像组件,发现如果锚标签的URL被破坏,那么链接检查器功能就会启动并用图像,左大括号图像和右大括号图像标记它。但是如果放在锚标签内的组件是图像组件,则关闭-brace图像会丢失。 以下是组件的代码。
<div class="" style="background-color:#79a0c1">
<a href="http://http://www .goo gle. Com">
<cq:include path="image" resourceType="/libs/foundation/components/image"/>
</a>
</div>
&#13;
以下是错误的屏幕截图
答案 0 :(得分:0)
This issue was due to improper configuration setting for the entire application.
This is the configuration having incorrect settings.
Config.auth—>
com.day.cq.rewriter.linkchecker.impl.LinkCheckerTransformerFactory with following properties
linkcheckertransformer.disableChecking—> false
linkcheckertransformer.disableRewriting—> false
linkcheckertransformer.mapCacheSize—> 5000
linkcheckertransformer.rewriteElements—> a:href,,area:href,form:action,img:src
linkcheckertransformer.strictExtensionCheck—> false
linkcheckertransformer.stripHtmlExtension—> false
We have the same configuration even for Config.publish
Removed the above configuration from both author and publish, then the issue got resolved