This example demonstrates how acrossElements="true" works.
By default, separateWordSearch is true, which means "PrimeFaces Extensions" would be found as two separate words.
However, in this example, we have set separateWordSearch="false" to search for the exact phrase.
Try searching for "PrimeFaces Extensions".
Below, it is rendered as <strong>PrimeFaces</strong> <em>Extensions</em>.
Without acrossElements="true", this would not be found as an exact phrase because it is split across two HTML nodes.
PrimeFaces Extensions provides additional components for PrimeFaces.
The MarkText component uses the mark.js library to highlight search terms.
With acrossElements enabled, phrases like across elements can be highlighted even if they are split by tags.