【问题标题】:Facebook description insert new line or returnFacebook 描述插入新行或返回
【发布时间】:2014-10-07 04:54:07
【问题描述】:

听起来很简单,我如何插入下一行或换行符或换行符,例如 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"/>

有什么想法吗?

【问题讨论】:

  • 我很好奇,你找到解决办法了吗?
  • 没有。那很糟糕
  • 3 年后,仍然没有解决方案。干得好脸书

标签: facebook share meta-tags


【解决方案1】:

这可能有效。

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

【讨论】:

  • 它不起作用,至少在我的情况下。还是谢谢
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2010-11-26
  • 1970-01-01
  • 2012-08-23
  • 1970-01-01
  • 2014-01-19
  • 1970-01-01
相关资源
最近更新 更多