add SyntaxHighlighter problem

Topics: Controls
Feb 16, 2010 at 11:41 AM
Edited Feb 16, 2010 at 11:43 AM

Hi, i was trying to add SyntaxHighlighter to display code in blog.

but TinyMCE or something is removing pagebrakes inside <textarea> </textarea>

page brakes \n inside textarea was removed.


or it removes attributes from <pre> tag

for example

if I write in HTML code 

<pre name="code" class="c#">


i see result: <pre class="c#">

name attrib was lost.

any suggestions to improve Blogengine.Net with SyntaxHighlighter ?


I use this one: (  )

Feb 16, 2010 at 2:50 PM

Try this extension, it integrates this same syntax highlighter with tinymce,.

Feb 17, 2010 at 4:57 AM

Cool, thank you very much.

I like your blog. :)