Bug 23409: show borrowernotes and opacnote's lines feeds
Test plan:
- Fill borrowernotes and opacnote with lines separated by lines
endings,
- save and check the content is displayed on a single line,
- apply this patch,
- check lines endings are displayed
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
ce6229cd75
commit
fd1bc426e1
|
|
@ -531,15 +531,15 @@
|
|||
|
||||
[% IF ( patron.borrowernotes ) %]
|
||||
<li id="patron-borrowernotes">
|
||||
<span class="label">Circulation note: </span>
|
||||
[% patron.borrowernotes | $raw %]
|
||||
<span class="label">Circulation note: </span><br />
|
||||
[% patron.borrowernotes | html | html_line_break %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
||||
[% IF ( patron.opacnote ) %]
|
||||
<li id="patron-opacnote">
|
||||
<span class="label">OPAC note:</span>
|
||||
[% patron.opacnote | html %]
|
||||
<span class="label">OPAC note:</span><br />
|
||||
[% patron.opacnote | html | html_line_break %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue