Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-977

Use HTML5 mark element for highlighting search results

XMLWordPrintable

    • Yes

      Hi,

      Currently, info.magnolia.module.templatingkit.search.SearchResultItem and searchResults.ftl highlight search terms using <em class="highlight"> and <span class="search-term"> respectively. With HTML5, we can use the mark element instead. See Draw attention with mark for more info.

      Thoughts?

      If you agree, I've attached a couple simple patches.

      Cheers,
      Matt

        Acceptance criteria

              Unassigned Unassigned
              mderting Matt Dertinger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: