Facebook 描述插入新行或返回

标签 facebook share meta-tags

听起来很简单,我如何插入下一行或换行符或换行符,如 og:description 中的
或\n。

我需要这条线

<meta property="og:description" content="here goes the description. and here goes the next line"/>

像另一个一样

<meta property="og:description" content="here goes the description. 
and here goes the next line"/>

有什么想法吗?

最佳答案

这可能有效。

<meta property="og:description" content="here goes the description. \r\n and here goes the next line"/>

关于Facebook 描述插入新行或返回,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25292792/

相关文章:

javascript - 如何使用 JavaScript 动态调整 Facebook 评论插件的大小?

c# - 使用共享源在位图上绘图

ios - 社交分享 Cordova 插件

angular6 - Google SEO - 新页面未显示在搜索结果中 - Angular6

.net - 在 Silverlight 应用程序中使用 "FaceBook API "的实时消息传递

申请的 Facebook 搜索引擎优化网址

android - 是否有必要在市场上发布应用程序以实现 android 的深度链接

swift - 通过 WhatsApp 分享图像

html - 包括使用 HTML 元标记的多个作者,以及如何确保 Google 使用元描述而不是页面内容

typo3 - 从未缓存的插件操作中渲染元标记