Closed (fixed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2012 at 10:10 UTC
Updated:
14 Apr 2013 at 11:23 UTC
[node:summary] contains also html tags from the body.
It's a normal behavior for teaser, but for meta description, only raw text should be displayed.
Comments
Comment #1
finex commentedI agree with @heyyo. But it looks more a token issue than a meta tags one, it should be used a token without html code... anyway a check could be done by Meta tags module. I don't know what would be the better solution to this issue.
Comment #2
marcoka commentedits a token and so provided by tokens itself. i would push this to token issue queue. if they think it should be done in metatags module, please push it back. then metatags needs to add own tokens in its *.tokens.inc
Comment #3
tguilpain commentedThis token is created in the core's node module. So I'll move to it's ussues.
Comment #4
dave reidIt's up to the modules that use the token replacements to remove HTML tags if necessary. If we removed HTML tags in the token by default in core, then this token wouldn't make sense to use in any kind of page output.
Comment #5
damienmckennaI believe this was resolved with #1917902: Generate uniform contents anyway, so anyone using an old version of Metatag should really update to beta5.
Comment #6
damienmckenna1.0-beta6 is out, so I'm closing this issue in the interest of keeping the issue queue clean.