aawwawa
aawwawa
Clean APIs are nice, right?
Changed constructor function `Bonzo`.
If it did, it would save a hell of a lot of `bonzo.create()`s. Anyway, it came up in IRC, and I was wondering if anyone else might be able to...
Discussed this with @rvagg in IRC briefly. Here's the alias I would propose: ``` javascript bonzo.new = function(tagname) { return bonzo.create(''); }; ``` It could obviously be implemented more performantly...
(Total rewrite.)
Something like this, which is extremely conservative, and perhaps even overly comprehensive in its coverage of HTML control characters, should sanitize a string of all HTML constructs: ``` javascript str...