Posted by tomhung on March 3, 2011 at 8:38pm
1 follower
| Project: | Todo Filter |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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] == '-') ? '/' : '_';