Commit 4217846a authored by Koen Martens's avatar Koen Martens

Littefield grid helper: match only valid hgurls

parent ede51dd9
......@@ -3,7 +3,7 @@ from helper import Helper
from lib.category import Category
class LfHelper(Helper):
hgexp = re.compile('[^:]+)', flags=re.I)
hgexp = re.compile('^[^:]+)', flags=re.I)
expr = {
re.compile("bondage ranch",flags=re.I) : ' Ranch',
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment