fixed "unexpected end of input" error when accented characters in event content