I've noticed this on drupal.org before, but in this issue you can see that URLs get linkified even within a code block. I imagine this means that we need to move the code to later in the input format.

Comments

rfay’s picture

kingandy’s picture

I don't think we want linkification filter before the code filter. If a the code filter finds HTML inside a code block, it gets escaped like so:

+++ b/pift.results.inc
@@ -0,0 +1,304 @@
+ * Provide the Automated Testing tab and UI functions.
+ *
+ * @author Jeremy Thorson ("jthorson", <a href="http://drupal.org/user/148199">http://drupal.org/user/148199</a>)

I think the only way to do it would be to have a custom URL filter that is aware of the code filter's function and and ignores any URLs found inside <code> blocks.

mr.baileys’s picture

geerlingguy’s picture

tvn’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

This seems to be fixed. Probably during the D7 upgrade.