I have created a Views block which displays the fields Node: Title and Node: Date. I have set the date format for Node: Date to "Time Ago."
When it renders the post date, the source code looks like this:
<em>5 weeks 1 day</em> ago
Hard coding the em tag like this makes it impossible to undo the italics through CSS.
Comments
Comment #1
merlinofchaos commentedUgh, those shouldn't even be there. Though actually I think you can undo the italics with
(They're not actually hardcoded, the em tag ends up there through theme_placeholder. It's an oddity in Drupal's translation system).
Comment #2
Aaron Stanush@drupal.org commentedThanks Merlin, that fixes it.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
Ankabout commentedSorry for re-opening this, but I can't find more information anywhere on this, and I don't think it's necessary to make a new issue. This is still the case with 7.12 and the latest Views, so I'm wondering where an issue for fixing this "oddity" should be filed?
Comment #5
dawehnerWell it's still a problem of core api not views and http://drupal.org/node/281163#comment-916758 proposed some kind of solution.
Comment #7
neurojavi commentedHi:
@dawehner: So there's a problem in core API? Is there any issue? I'm not able to find it.
I also think that the solution given in #1 one is not a good one. is a semantic tag and it is very important for SEO purposes. In fact Google Webmaster Tools is telling me that "Semanas" (week in spanish) is the most important word in my site!
I know that this issue is not related to views and that's why I don't reopen this issue but... can someone give me a clue???
Thanks.
Javi.-