PKP Bugzilla – Bug 6886
submission metadata template displaying raw HTML for affiliation
Last modified: 2011-09-14 14:25:34 PDT
Any HTML tags generated as part of the submission metadata -> affiliation field (stored in paper_authors.affiliation in the DB) are displayed when viewing the submission's metadata via templates/submission/metadata/metadata.tpl. It looks to me like the 'escape' parameter should be changed to 'strip_unsafe_html': <td class="value">{$author->getLocalizedAffiliation()|escape|nl2br|default:"—"}</td> ... should be: <td class="value">{$author->getAffiliation()|strip_unsafe_html|nl2br|default:"—"}</td>
submission metadata template displaying raw HTML for affiliation https://github.com/pkp/ocs/commit/1af3ef48c88cd8ae1180dd94b1ab6687813123f6
Created attachment 3640 [details] Patch against OCS 2.3.3-1
submission metadata template displaying raw HTML for affiliation https://github.com/pkp/ocs/commit/7b64c1a2678f0e11d9b72d65c77e197a9cea0568
Committed to both stable and master. Closing.