Changes between Initial Version and Version 1 of Ticket #16325, comment 1


Ignore:
Timestamp:
Jun 23, 2011, 3:14:18 AM (13 years ago)
Author:
Aymeric Augustin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16325, comment 1

    initial v1  
    99I don't think it's a good idea to go down this path.
    1010
    11 truncatewords_html` just knows which tags need to be closed and which don't. It's a fairly simple and generic tag. If it doesn't do exactly what you need, you should write your own `truncatetable` filter.
     11`truncatewords_html` just knows which tags need to be closed and which don't. It's a fairly simple and generic tag. If it doesn't do exactly what you need, you should write your own `truncatetable` filter.
    1212
    1313More generally, it doesn't make a lot of sense to truncate a table at a given number of words. It sounds more logical to truncate it at a given number of rows. That's one more reason to write your own filter.
Back to Top