documentcloud/underscore — Issue #430: _.template chokes on reserved words
Author: pcorcoran
Created: 2012-01-11 17:20:10+00:00
State: open

_.template('<%= class =>', { 'class': 'some_string' })

The above throws "SyntaxError: Unexpected reserved word" in WebKit. (Other browsers untested, but similar results seem likely.)