Results differ between input formats
NancyDru - December 1, 2007 - 15:42
| Project: | Code Filter |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
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?

#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: