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