Features / Usability

Features / Usability

Javascript code blocks

posts: 29 Canada


I'm using v1.8.4

I have a wiki page that I want to display a code block in. This code block has script tags in it. They are being removed automatically when the page is drawn.

I understand why they are being stripped, but could they instead be converted to &l t;script etc while in code blocks so that users could still demonstrate code properly?

If there is a workaround I'd love to hear about it. Right now I am using "<scrip t" tags instead sad


posts: 2881 United Kingdom

Try playing the the HTML checkbox, there is a way for it to convert the < to & l t; automagically.