Closed gpant closed 6 years ago
I will investigate on your issue
Do you experience this issue with the latest release?
The last commit I see is from 2017/07/26 and I have already applied it with no changes in the issue unfortunately.
@gpant Can you paste your page with code here plz ?
On purpose I set one of them to bash so that you can see the error:
https://eservices-greece.com/wiki/software/nginx
I don't have any issue with your page on my local dokuwiki :
====== SyntaxHighlighter4 ======
===== sxh bash =====
<sxh bash>
cd ~
mkdir buildnginx
cd ~/buildnginx
useradd nginx
</sxh>
Maybe it's your template or another plugin. Can you give me a list of your plugins and theme ?
I disabled every plugin and reverted to the default theme but the issue remains unfortunately. I will try to debug it a bit more and notify you.
Thanks for your help.
@gpant Any news about this ?
I am really sorry for the late reply, unfortunately I haven't had the time to debut this yet due to work, you can close the issue and I will open when I got some more information on it. Thanks for your help.
Ok thanks
JFYI, It seems that there is an issue with the plugin»syntaxhighlighter4»htmlScript option. Disabling it fix the brush render.
Regards!!
You are absolutely correct, I just disabled the option and the bash styling worked perfectly.
I have tried a couple of brushes I wanted to use like bash and cpp and I always get the following error: Uncaught Error: Brush wasn't configured for html-script option: bash at new HtmlScript (syntaxhighlighter.js:3414) at Object.highlight (syntaxhighlighter.js:217) at syntaxhighlighter.js:101 at HTMLDocument.listener (syntaxhighlighter.js:5296)
Other brushes like php for example render fine without an issue.