replace tag for openTag - closeTag to avoid unexpected rendering results