Thank you! I couldn't found the place to report bugs ><
If any it's interested there is the ticket
http://cakephp.lighthouseapp.com/projects/42648-cakephp/tickets/2397-texthelper-truncate-failing
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the
if you think this is a bug, you can open a ticket for it:
http://cakephp.lighthouseapp.com/projects/42648-cakephp/tickets
ideally with some patch and/or test case attached
personally, I think it is difficult to truncate a html text correctly
in all situations.
but maybe there is an easy solution f
Yes the problems remains in inline styles, but my problem is that I
need this styles because they are being created automatically.
And I don't want to set exact => true, because I want to see complete
the last word.
I don't understand what you mean: "Are you doing an email newsletter?"
Thanks for
I had a play around with this. I thought i was getting better results
with using exact => true but I still got spans cut off. I Removed all
the inline style and set exact to true and now I can't get it to cut
any tags off.
Seems like It can't cope with inline styles. Are you doing an email
news
I'm trying to truncate this text without lose the HTML tags:
Text=
El biógrafo de Steve Jobs, Walter
Isaacson, explica porqué Jobs le pidió que le hiciera su biografía en
este artículo de El País.
Por qué Steve era distinto.
http://www.elpais.com/
articulo/primer/plano/Steve/era/distinto/elpepueco