Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19992

eZ Find: {$node.highlight} is causing html/xml entities to be shown.

    XMLWordPrintable

    Details

      Description

      {$node.highlight}, which can be found, for example, in the "ezfind_line.tpl" template, is causing html/xml entities (like

      "

      ) to be shown.

      Steps to reproduce

      With eZ Find active, create (for example) an article called 'Article 1', and on the 'summary' field, add something like:

      Article 1 - "This is a test"
      

      The other fields are not relevant here, add whatever you want. Then go to the frontend siteaccess, and search for 'Article'. The results page (ezfind_line.tpl, via {$node.highlight}) will display

      (...)
      Article 1 - "This is a test" ... Article 1
      (...)
      

      ...instead of displaying the original text:

      (...)
      Article 1 - "This is a test" ... Article 1
      (...)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 30 minutes
                3h 30m