[FIX] Core, STRIPNS option: fixing opening/closing tag check