Skip to content

SearchHighlight plugin does not work when table content contains urls #609

Description

@Sailwayfun

Problem

I use the searchHighlight plugin in my project, everything except urls are highlighted properly, but when the query term matches the url, the search did apply, but the highlighting is not working.

Simple repro:

The problematic column:

render: (data) => {
if (!data) return "";
return <a href="${data}" target="_blank" rel="noopener noreferrer" style="cursor: pointer; text-decoration: underline;"> ${data} </a>;
},

example table url: "https://etherscan.io/", query "et"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions