Changeset 14837
- Timestamp:
- Jun 7, 2016, 5:01:56 AM (9 years ago)
- Location:
- branches/1.0-stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0-stable
-
branches/1.0-stable/trac/mimeview/pygments.py
r13264 r14837 148 148 149 149 def match_request(self, req): 150 match = re.match(r'/pygments/( \w+)\.css', req.path_info)150 match = re.match(r'/pygments/([-\w]+)\.css', req.path_info) 151 151 if match: 152 152 req.args['style'] = match.group(1)
Note:
See TracChangeset
for help on using the changeset viewer.