mirror john's change for chameleon, better changelog message
| | |
| | | Bug Fixes |
| | | --------- |
| | | |
| | | - It is now possible to use asset specifications which contain a hyphen in |
| | | Mako asset spec names. See https://github.com/Pylons/pyramid/pull/692 |
| | | - When trying to determine Mako defnames and Chameleon macro names in asset |
| | | specifications, take into account that the filename may have a hyphen in |
| | | it. See https://github.com/Pylons/pyramid/pull/692 |
| | | |
| | | Features |
| | | -------- |
| | |
| | | renderer = registry.queryUtility(ITemplateRenderer, name=spec) |
| | | if renderer is None: |
| | | p = re.compile( |
| | | r'(?P<asset>[\w_.:/]+)' |
| | | r'(?P<asset>[\w_.:/-]+)' |
| | | r'(?:\#(?P<defname>[\w_]+))?' |
| | | r'(\.(?P<ext>.*))' |
| | | ) |