题
HTML代码元标记的描述中,
这是动态生成的,我们在说明书部分和搜索引擎的报价没有读到的一切。
它显示直到引号开始在搜索结果
如何应对呢?
感谢
解决方案
您需要使用 HTML字符引用,以逃避报价:
<meta name="description" content=""quoted content"">
这里的描述是"quoted content"
。
其他提示
在PHP使用strip_tages
+ str_replace('"',""")
到ARCHIV
<meta name="description" content=""quoted content"">
不隶属于 StackOverflow