Just posting a quick note. Dokuwiki is my wiki of choice, and one of the plugins I use is called “Highlight”. The problem is, it’s kinda hard to get ahold of anymore, and it hasn’t been updated in forever.
The Dokuwiki plugin page for Highlight is here.
I have a copy that I have fixed to include the anti-XSS code posted on the plugin page. You can grab a zip of the plugin code here.
Thanks.