fix: handle some extreme cases like `data-custom="{{templatevar}}"`. There is possibility error while parsing json .