Posted by NancyDru on December 1, 2007 at 3:42pm
Jump to:
| Project: | Code Filter |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I entered a PHP snippet between code tags on a "Filtered HTML" page and the output did format with code tags, but not the "codeblock" div tag. I changed the format to "Full HTML" (with no other changes) and it added the "codeblock" div.
Why should it matter which input format I'm using?
Comments
#1
When Codefilter isn't turned on for an input format, then < code> works as it does in normal HTML (eg, monospaced font). When Codefilter is turned on, then < code> will add the codeblock div.
Is Codefilter turned on for both of the input formats you tested?
#2
Full HTML: (default)
Filtered HTML: