8177450: javax.swing.text.html.parser.Parser parseScript ignores a character after commend endReviewed-by: prr, alexsch