jprichardson/string.js — pull request #100 by Sergio-Muriel (2014-08-05 15:37:07+00:00)
Title: Wrapping html may encode html attributes

wrapHTML has to encode attribute values:
{ "data-content": "my \"encoded\" content" }

has to be converted to:
data-content="my "encoded" content"