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:

  1. Open the file submissions.tpl located in lib/pkp/templates/fronteend/pages.
  2. Search for  |nl2br. You’ll find it is used in 3 instances.
  3. 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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s