Escape all underscore tags to avoid parse errors