<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi,</div>
<div>does anybody have experience that pdf files can destroy the search result? We use OpenCMS 10.5.4 with the code from OpenCMS (config jsp-search-00001.xml with formatter jsp-search-formatter.jsp).</div>
<div>Problem: The snippet length is not maintained and it is almost the entire file in the output.</div>
<div> </div>
<div>In the formatter i found this:</div>
<div> </div>
<div><<</div>
<div>"<%-- The import is only necessary to avoid highlighting snippets that destroy the HTML structure --%>"</div>
<div><%@ page import="org.opencms.util.CmsHtmlConverter"%></div>
<div>>></div>
<div> </div>
<div>...but despite i get the problem.</div>
<div> </div>
<div>Thanks for any tip.</div>
<div>A.</div>
<div> </div>
<div> </div></div></body></html>