fix: escape text so that text with HTML tags get correctly highlighted & some refactoring
bump up to v0.3.2