Fix quotes extra escape

It's an addition to #63.

Quote and apostrophe marks should be additionally escaped only when they are not in a tag.