<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Arno Nym,</p>
<p>could you provide a problematic PDF, that I could try to fix this
problem? I thought up to now that escaping/stripping HTML in the
highlight snippets will suffice to get a correct HTML structure.<br>
</p>
<p>Best, Daniel.<br>
</p>
<div class="moz-cite-prefix">Am 23.10.18 um 10:55 schrieb Arno Nym:<br>
</div>
<blockquote type="cite"
cite="mid:trinity-5e3847c6-cea1-4261-98d1-95ef29187c32-1540284956372@3c-app-webde-bs35">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel Seidel
-------------------
Alkacon Software GmbH & Co. KG - The OpenCms Experts
Daniel Seidel
An der Wachsfabrik 13
50996 Koeln, DE
Tel: +49 (0)2236 3826-16
Fax: +49 (0)2236 3826-20
Email: <a class="moz-txt-link-abbreviated" href="mailto:d.seidel@alkacon.com">d.seidel@alkacon.com</a>
<a class="moz-txt-link-freetext" href="http://www.alkacon.com">http://www.alkacon.com</a>
<a class="moz-txt-link-freetext" href="http://www.opencms.org">http://www.opencms.org</a>
Amtsgericht Köln, HRA 32185, USt-IdNr.: DE259882372
Vertreten durch: Alkacon Verwaltungs GmbH
Geschäftsführer: Alexander Kandzior, Amtsgericht Köln, HRB 88218</pre>
</body>
</html>