Code Snippet Displays as Text
-
I’ve created a content block containing this code snippet:
<a href="javascript:toggleVisibility('vistest')">Toggle Visibility<\a>
I inserted the block in a page, but when the page displays, instead of displaying the link defined by the snippet, it displays exactly as shown above, as though it were text and not code. (I used the visual mode of the editor when creating the block. I’ve also tried the text mode and source code, but then the editor modifies the input.)What should I be doing to make it work as code? –Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Code Snippet Displays as Text’ is closed to new replies.