I think I would make a modification to this based on Dan Pearl's script. Christine's has an aggressive approach so that if you use a brackets as part of your note it would remove those also. We have notes that read
Pages [44-55] missing from the book [ts @ …
and the [44-55] could get stripped. Here is a suggested modification.
[% IF copy_info.notes; %]
[% FOREACH note IN copy_info.notes; %] <tr><td> </td><td class="copy_note" colspan="4"><strong>[% note.title | html %]:</strong> [% note.value.replace('\[.*@.*\]\s*', '') | html %]</td></tr>
[% END %]
[% END %]
Kathy,
I think I would make a modification to this based on Dan Pearl's script. Christine's has an aggressive approach so that if you use a brackets as part of your note it would remove those also. We have notes that read
Pages [44-55] missing from the book [ts @ …
and the [44-55] could get stripped. Here is a suggested modification.
[% IF copy_info.notes; %]
<tr> <td> </td><td class="copy_note" colspan= "4"><strong> [% note.title | html %]:</strong> [% note.value. replace( '\[.*@. *\]\s*' , '') | html %]</td></tr>
[% FOREACH note IN copy_info.notes; %]
[% END %]
[% END %]
By using @ symbol, it is less aggressive.