Active
Project:
Todo Filter
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2011 at 20:38 UTC
Updated:
3 Mar 2011 at 20:38 UTC
Let me preface this by saying that I'm lazy and have fat fingers....
I suggest accepting [-] as an alternative syntax for [_]. This is easier to type since there is no "Shift" involved. [/] is already good to go!
Greg
todo_filter.module - Line 30:
preg_match_all("/\[(_|\/|-)\](.*)/",$node->body,$out);
$change_to = ($out[1][$i] == '_' || $out[1][$i] == '-') ? '/' : '_';