Changeset 14569
- Timestamp:
- Feb 26, 2016, 12:09:52 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/trac/mimeview/pygments.py
r14509 r14569 163 163 164 164 def match_request(self, req): 165 match = re.match(r'/pygments/( \w+)\.css', req.path_info)165 match = re.match(r'/pygments/([-\w]+)\.css', req.path_info) 166 166 if match: 167 167 req.args['style'] = match.group(1)
Note:
See TracChangeset
for help on using the changeset viewer.