Closed (fixed)
Project:
Code Filter
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2007 at 22:55 UTC
Updated:
27 Nov 2012 at 01:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
liam mcdermott commentedHow the same code looks with < % % > matching removed.
Comment #2
liam mcdermott commentedA patch to fix the problem.
Comment #3
johnalbinI think ASP-style and short tag-style escapes are a bad idea. But rather than removing the ability to highlight them, we should add an option to the filter to allow/disallow these tag styles.
Comment #4
liam mcdermott commentedJohnAlbin: if I create a patch to do this would you be able to commit it? Is someone maintaining this module?
Sorry, just don't want to do work for it to fall down a black hole. :)
Comment #5
johnalbinI don’t have commit access for this module. But if you post a patch, I’ll review it.
Also, I’m pretty sure that if a patch gets reviewed and marked RTBC, that Steven will review it and decide whether to commit it. This module is pretty important to the Drupal.org website and most certainly is being maintained.
Comment #6
liam mcdermott commentedSorry for not having followed-up on this sooner. Attached is a patch that adds the option to switch off ASP-style filtering to the filter Configure tab. ASP-style filtering is on--which is the module's current behaviour--by default.
Comment #7
liam mcdermott commentedComment #8
sepeck commentedYou may want to test to see if this issue occurs on Drupal 6 beta's as well,. Code filter has been moved into core with Drupal 6. If it is an issue, then file a separate bug report.
Comment #9
chx commentedYes likely D6 suffers from this but I have no problems just ripping out ASP tags support from codefilter as the PHP manual strongly discourages their use so it's quite expectable noone ever will post using those.
Comment #10
johnalbinI looked at Drupal 6 and, for the life of me, I could not find a "Code filter" input filter or anything like it. Care to enlighten me?
Liam, I'll review your patch tonight, if I can get to it.
Comment #11
cameron tod commentedFixed in D6 here: http://drupalcode.org/project/codefilter.git/commit/d85f338c8571040cdb36...
Comment #12
cameron tod commentedComment #13
cameron tod commentedAnd in D7 here: http://drupalcode.org/project/codefilter.git/commit/a80798674b16b20b94f7...