Hey,
Currently cryon-syntax-highlighter puts all code in <pre> tags when it detects that it's in the feed mode:
crayon_wp.class.php:666
if (is_feed()) {
// Convert the plain code to entities and put in a <pre></pre> tag
$crayon_formatted = CrayonFormatter::plain_code($crayon->code(), $crayon->setting_val(CrayonSettings::DECODE));
} else {
This is incorrect for inline snippets, as <pre> is a block, and inline snippets often occur inside <p> tags. <pre> causes the newline to appear after the snippet, which in turn causes a major readability issue for RSS aggregates such as http://planetkde.org/.
Hey, Currently cryon-syntax-highlighter puts all code in <pre> tags when it detects that it's in the feed mode: crayon_wp.class.php:666
if (is_feed()) { // Convert the plain code to entities and put in a <pre></pre> tag $crayon_formatted = CrayonFormatter::plain_code($crayon->code(), $crayon->setting_val(CrayonSettings::DECODE)); } else {
This is incorrect for inline snippets, as <pre> is a block, and inline snippets often occur inside <p> tags. <pre> causes the newline to appear after the snippet, which in turn causes a major readability issue for RSS aggregates such as http://planetkde.org/.