Hi all,

i have strange problem. On my site i have a teaser for an article. This teaser 
is truncated after 200 letters. On my local machine it works perfect. After i 
deploy my application on the serverside, nothing is truncated.
So i looked into the files on the server if the truncate command is set and it 
is. So that's not the problem.

Here is the my output of the truncate command:

<%=sanitize(textilize truncate(article.teaser,200))%>

i tried to change it to something like this:

<%= truncate(article.teaser,200)%> 

but nothing changed. So it's not a problem with the XSS plugin. 

Has anybody an idea what could be the problem? 


Thanks and Greetings 

G.P

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to