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.

    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
      (...)
      

        Activity

        Show
        Paul Borgermans (Inactive) added a comment - Fixed in stable-2.7: https://github.com/ezsystems/ezfind/commit/74e7a593d89733c242d8fa88e3a6ef8f26759817 stable-2.6: https://github.com/ezsystems/ezfind/commit/4402484c28f0bba5282c579b7fadb663530f6981 stable-2.5: https://github.com/ezsystems/ezfind/commit/9f23c9c6246eb399a9edca7df7e6226373cecfc9

          People

          • Assignee:
            Unassigned
            Reporter:
            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