0

I am using syntaxhighlighter (http://alexgorbatchev.com/wiki/SyntaxHighlighter) with a php source code with the ins and del tag.

What I would like to do is to have syntaxhighligher ignore those html tags so that they can be parsed correctly. So I'd like to to display:

test

instead of the default

<del>test</del>

Anyone has any idea?

kennytm
  • 510,854
  • 105
  • 1,084
  • 1,005
Patrick
  • 4,815
  • 11
  • 52
  • 55

1 Answers1

2

Try

extended_valid_elements : 'del',
        custom_elements : 'del'

in tinyMCE.init({ .... JS method

http://netofdotnet.com

sra
  • 23,820
  • 7
  • 55
  • 89
test
  • 21
  • 2