In some particular situation, inline code is not rendered inline

e.g. setup with language tag "<python>", and "Line break converter" filter before "GeSHi filter"
input with inline code fragments (added spaces in tags to prevent filtering):

foo bar < python >import os< /python > baz
foo bar < code lang="python" >import os< /code > baz

will be rendered as

foo bar 
import os baz
foo bar import os baz

this is because the line break converter matches the "<python>" with "<p>" and inserts a line break.

Solution: the line break converter should come after the GeSHi filter

Comments

soxofaan’s picture

Status: Active » Fixed

the conflict with the line break convertor can now be detected with suggestion to put it after GeSHi filter
by http://drupal.org/cvs?commit=81985

Anonymous’s picture

Status: Fixed » Closed (fixed)