Closed (fixed)
Project:
Google Code Prettify
Version:
7.x-1.0-beta1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2012 at 18:49 UTC
Updated:
21 Sep 2012 at 16:41 UTC
Is there a configuration that allows the use of a wysiwyg editor, but still allows users to not escape html tags within a <code> block? It seems like even escaping the tags doesn't work, as it prints the entity? Any idea? Thanks!
Comments
Comment #1
smartinm commentedDo not use the input filter. Prettify automatically detects code tags (pre, code) and perform syntax highlighting.
Just for information, the input filter is an optional feature. The main advantage of the input filter is that you can post code without having to worry about manually escaping < and > characters, but this module can perform syntax highlighting of source code snippets in
<pre>or<code>without input filter. In addition, you can use custom jQuery selectors to selectelements containing the code to highlight.
Comment #2
smartinm commentedI'll mark this issue as 'fixed' to clean up the issue queue. Please re-open it if you have further questions.