Fixed subscript buf. Escaped < and > characters in html strings.