Do not convert to curly quotes when escaped HTML contains unescaped HTML

Would `prev.length` work instead?