berkerpeksag/jgrow — pull request #5 by econic (2012-07-17 13:02:26+00:00)
Title: Insert an x for invalid characters for ID attribute

This is important because otherwise these two name attributes would result in the same ID

name | result before | result afterwards

name="ab[c]" | id="abc" | id="abxcx"
name="a[b]c" | id="abc" | id="axbxc"