quoting bug in html generator