• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 How I can delete [IMG] tag from thread description?

CNK

Active member
#1
If my thread includes images xF adds IMG tags to meta description. How can I delete them from the source site?

img in description.JPG
 

CNK

Active member
#5
Could you tell me, where I can change this?

In my opinion it is not seo-friendly if our description looks like:
Code:
<meta name="description" content="[ATTACH][ATTACH]...
<meta property="og:description" content="[ATTACH][ATTACH]...
or
Code:
<meta name="description" content="[IMG][IMG]..
<meta property="og:description" content="[IMG][IMG]..
In templates.xml I found:
Code:
<meta name="description" content="{xen:helper snippet, $firstPost.message, 155}" /></xen:container>
so I think it is related with the "snippet" function, right?
 

CNK

Active member
#6
Does anyone know where is the code that is responsible for displaying BBCode tags in meta descriptions?