Exclude search of words in a specific HTML tag

Exclude search of words in a specific HTML tag

yakov116yakov116 Posts: 34Questions: 5Answers: 0

I am looking to limit the search not to search for words in a html tag.

The example I need it for is as following.

We have a code documentation and we have the title of a code block followed by a <hr> tag followed the a <code> tag.
I would like to only search for words that are not in the code tag and only search its titles.

Ps. Due to the length of the code it is not possible for me to have a separate column for the title as it will not fit properly.

Thanks

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    Hi @yakov116 ,

    This thread here should help, and the example on that page. There, it's concerned with the export, for you, you in the columns.render you would return the stripped text for the filter type.

    Cheers,

    Colin

  • yakov116yakov116 Posts: 34Questions: 5Answers: 0

    Thanks!

This discussion has been closed.