I'm trying to render "FileTextContent" of a pdf file in my search results. The content of the pdf includes html tags here and there. Like this:
"Den HTML <script> tag som refererar..."
The script tag in this case is never closed since it's not written to be valid HTML. This causes havoc on the rendered search result page and the html getts messed up.
I've tried making the field as Html.Raw but I'm still getting syntax errors.
Search field contains html tags
Hi,
I'm trying to render "FileTextContent" of a pdf file in my search results. The content of the pdf includes html tags here and there. Like this:
The script tag in this case is never closed since it's not written to be valid HTML. This causes havoc on the rendered search result page and the html getts messed up.
I've tried making the field as Html.Raw but I'm still getting syntax errors.
Help would be much appreciated.
is working on a reply...