【发布时间】:2016-08-20 07:01:09
【问题描述】:
在我的meta-description(它是动态的)中,当我执行 CTRL + U / 查看源代码和 Google 搜索时,撇号将替换为 '。
<meta name="Description" content="Discover Sonam Kapoor's look in Dolly Ki Doli, Dolly/Madhuri/Priya/Bhagyashree,Red Net Kameez with Patiala,Red Art Silk Patiala Suit,RITIKA SACHDEVA Gold finish"
它应该是“索南卡普尔”,但我有“索南卡普尔”。如何解决这个问题?
我正在使用 node.js、html、mongodb。
我在 index.js 中做了 console.log 并检查了它是否正确打印“Sonam Kapoor's”,因此可以正确地从数据库中获取,但在网页视图源代码中它是“Sonam Kapoor 's”ASCII 值。
【问题讨论】:
-
你是如何插入元描述的?
标签: html node.js mongodb seo html-encode