Fixed the issue of detection of html tags, closes #1
fixed HTML tags detection, closes #1