[code] shortcode breaks when html entities are included
-
The following works fine:
[code language='r']
foo = bar
[/code]However if we try to use less than or greater than, it breaks:
[code language='r']
foo < bar
[/code]The latter renders as:
foo < bar
[/code]but is not formatted as code.
Is there any way around this?
- The topic ‘[code] shortcode breaks when html entities are included’ is closed to new replies.