kamicane/wrapup — pull request #7 by arian (2012-05-21 20:26:35+00:00)
Title: Fixes #6 - String#replace avoid special replacement strings

For example:
$$ -> $
$& -> the matched substring

see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String/replace#Specifying_a_string_as_a_parameter

Simply using a function as second parameter will prevent replacing special characters