The POD of C4::Creators::Lib::html_table() has an example of how to create an HTML table based on the output of the function, but it uses the old template syntax, not TT syntax.
Created attachment 20475 [details] [review] Bug 10763 - Update POD of C4::Creators::Lib::html_table() to use TT syntax This patch updates the example template syntax in the POD for C4::Creators::Lib::html_table() to use Template Toolkit syntax. To test, view the POD for C4::Creators::Lib::html_table() and confirm that it looks correct.
Created attachment 20493 [details] [review] Bug 10763 - [SIGNED-OFF] Update POD of C4::Creators::Lib::html_table() to use TT syntax This patch updates the example template syntax in the POD for C4::Creators::Lib::html_table() to use Template Toolkit syntax. To test, view the POD for C4::Creators::Lib::html_table() and confirm that it looks correct. Signed-off-by: Magnus Enger <magnus@enger.priv.no> Checked the POD with "perldoc C4/Creators/Lib.pm" before and after applying the patch. The example now uses TT syntax, and looks sensible.
Created attachment 20499 [details] [review] Bug 10763 - [SIGNED-OFF] Update POD of C4::Creators::Lib::html_table() to use TT syntax This patch updates the example template syntax in the POD for C4::Creators::Lib::html_table() to use Template Toolkit syntax. To test, view the POD for C4::Creators::Lib::html_table() and confirm that it looks correct. Signed-off-by: Magnus Enger <magnus@enger.priv.no> Checked the POD with "perldoc C4/Creators/Lib.pm" before and after applying the patch. The example now uses TT syntax, and looks sensible. Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Pushed to master. Thanks, Owen!
This patch has been pushed to 3.12.x, will be in 3.12.5. Thanks Owen!
Pushed to 3.10.x, will be in 3.10.11
Pushed to 3.8.x, will be in 3.8.20.