# HG changeset patch # User Ludovic Chabant # Date 1560357770 25200 # Node ID 6baa94da8b16626e440274b898c2f0cc324db5c0 # Parent 5762a0b821ac64886da781c3805b8b787d33c03a routing: For some reason, escaping percents isn't happening anymore. diff -r 5762a0b821ac -r 6baa94da8b16 piecrust/routing.py --- a/piecrust/routing.py Tue Jun 11 16:40:11 2019 -0700 +++ b/piecrust/routing.py Wed Jun 12 09:42:50 2019 -0700 @@ -11,7 +11,7 @@ route_re = re.compile(r'%((?P[\w\d]+):)?(?P\+)?(?P\w+)%') route_esc_re = re.compile( - r'\\%((?P[\w\d]+)\\:)?(?P\\\+)?(?P\w+)\\%') + r'%((?P[\w\d]+)\\:)?(?P\\\+)?(?P\w+)%') ugly_url_cleaner = re.compile(r'\.html$')