2016-09-13 76 views
0

我是新來打開圖。我遇到了一個問題,我無法在og:description標記中添加<a>標記。如果我這樣做,我的網頁上總結出現這樣的:嵌入總結在打開圖片

Sample videos from from &nbsp;<a href="https://www.youtube.com> Video1</a> 
&nbsp;to&nbsp;<a href="https://www.youtube.com" target="_blank">Video2</a> 

因此,在查看源代碼顯示如下:

<meta property="og:description" content="Sample videos from&amp;nbsp;&lt; 
a href=&quot;https://www.youtube.com&quot; 
target=&quot;_blank&quot;>video1&lt;/a>&amp;nbsp;to&amp;nbsp;&lt;a 
href=&quot;https://www.youtube.com&quot; 
target=&quot;_blank&quot;>video2&lt;/a>" /> 

有沒有一種方法,我可以嵌入內OG的鏈接:說明並確保鏈接在facebook上分享時不顯示標籤中的標籤?

回答

0

超鏈接不允許位於元標記內。 HTML標準和Facebook的OpenGraph標準都不支持你所描述的內容。