fix regression when setting innerhtml with only raw text