Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,达西变成达西。
Bing 和 Google 的处理方式似乎都与 ' 相同。如果是这样,是否有任何功能性理由不通过在将其保存到数据库之前将其替换为单引号来清理与单引号相关的名称字段?从而节省每次在 HTML 页面上显示时都必须对其进行编码?