fgnass/domino — pull request #43 by gwicke (2014-04-29 17:34:32+00:00)
Title: Performance tweak: Add fast path to escapeAttr

At least in node 0.10 a test is cheaper than constructing a new string with
replace. Since the common case for attributes is that there's nothing to
escape, it makes sense to add a fast path that leaves the string untouched.