For some weird reason, the closing tags on the /about/submissions page of OJS3 add a line break (br /
) after them.
According to iclaudius (GitHub), “certain fields go through the Smarty nl2br
filter, which converts newlines into br /
elements. It makes sense to remove these, since that content is entered through the TinyMCE editor…”.
To fix this issue, here’s what to do:
- Open the file
submissions.tpl
located inlib/pkp/templates/fronteend/pages.
- Search for
|nl2br
. You’ll find it is used in 3 instances. - Keep the first instance and remove the 2nd and 3rd instances.
Credit for the solution posted here is attributed to iclaudius and asmecher (GitHub) at https://github.com/pkp/pkp-lib/issues/1964.