Prevent hyperlink

Another workaround to suppress Auto linkify words.

Add <span></span> in the middle of the text.


Details

Our site has SWI-Prolog added to Auto linkify words component theme.

To keep SWI-Prolog from being converted into a link, e.g. SWI-Prolog, and also not displaying as a code section, e.g. SWI-Prolog, adding <span></span> in the middle of the text, e.g. SWI<span></span>-Prolog, causes the text to not be recognized by Auto linkify words and since <span></span> renders into something that will not appear in a browser, it works as needed for the specific case, e.g. SWI-Prolog.

3 Likes