Template::Plugin::Nbsp - TT2 plugin that inserts non-breaking space (usefull for empty table cells)
[% USE Nbsp %] <table> <tr> <td>[% variable | nbsp %]</td> </tr> </table>
This plugin helps preventing empty table cells. If the value is undef or empty it returns .
If you use cascading style sheets (css), you can use empty-cells: show; to get the same results without this plugin.
empty-cells: show;
Uwe Voelker <uwe.voelker@gmx.de>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Template
To install Template::Plugin::Nbsp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Plugin::Nbsp
CPAN shell
perl -MCPAN -e shell install Template::Plugin::Nbsp
For more information on module installation, please visit the detailed CPAN module installation guide.