GIJOE, thanks for your reply.
Sorry, I think my explanation wasn't very clear. ^^"
BopComments truncates the descriptions in 125 characters by PHP code, which was causing the language tags to be cutted. So, I was trying to truncate it through Smarty, hoping the language tags weren't cutted there.
The original code was:
<description><{$item.description}></description>
And I was trying to use:
<description><{$item.description|truncate:128:"...":true}></description>
But I was getting the following error message:
Quote:
XML Parsing Error: mismatched tag. Expected: </description>.
Location: http://localhost/rss.php
Line Number 27, Column 57: <description> : Bem-vindo ao mundo de WordPress!</title>
--------------------------------------------------------^
I wonder why it doesn't work.
And I have a question: does obfilters process the language tags after or before the Smarty templates are processed?