[Koha-bugs] [Bug 14329] Useless copy/pasta from Template::Plugin::HtmlToText

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 4 12:06:57 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14329

--- Comment #1 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 39838
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39838&action=edit
Bug 14329: Useless copy/pasta from Template::Plugin::HtmlToText

The synopsis of this TT plugin contains two example lines:
[% myhtml FILTER html2text(leftmargin => 0, rightmargin => 0) %]
[% myhtmltext | html2text %]

These lines have been copied (without too much thought :) to a few templates.
Since we do no use the variables myhtml or myhtmltext in these templates, these
lines are useless.

Test plan:
[1] Put some items in your cart. And send it.
[2] Send a shelf.
[3] Git grep on myhtml. Should not have results.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list