Fix to templatize decorator so it only hamlpy parses files with valid haml extensions see Issue #96 #144

Merged
merged 2 commits into from Aug 28, 2013

Conversation

Projects
None yet
3 participants
Contributor

cordery commented Aug 23, 2013

As mentioned in Issue #96 without this patch templatize may choke on non haml files causing issues with makemessages.

Owner

jessemiller commented Aug 28, 2013

Thanks for looking into this and fixing it. Sorry it took me so long to pull it in.

@jessemiller jessemiller added a commit that referenced this pull request Aug 28, 2013

@jessemiller jessemiller Merge pull request #144 from cordery/master
Fix to templatize decorator so it only hamlpy parses files with valid haml extensions see Issue #96
acb79e1

@jessemiller jessemiller merged commit acb79e1 into jessemiller:master Aug 28, 2013

html = hamlParser.process(src.decode('utf-8')) this might throw a UnicodeEncodeError when using makemessages.

@D3X D3X pushed a commit to D3X/HamlPy that referenced this pull request Mar 23, 2017

@jessemiller jessemiller Merge pull request #144 from cordery/master
Fix to templatize decorator so it only hamlpy parses files with valid haml extensions see Issue #96
8a9c127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment