Remove brackets incorrectly being recognized as HTML tags