diff --git a/lib/Notes.pm b/lib/Notes.pm index b81efbeaa9..5f36f1ad3e 100644 --- a/lib/Notes.pm +++ b/lib/Notes.pm @@ -249,8 +249,7 @@ sub write_data { # The actual notes and a line at the bottom print NOTES "\n$Args::args{'note'}\n\n" . "-" x 70 . "\n"; - print "

$Args::args{'note'}

"; - + print "

".Print::html_encode($Args::args{'note'})."

"; close(NOTES); print "


\n" @@ -376,7 +375,7 @@ sub write_file { # The actual notes and a line at the bottom print NOTES "\n$Args::args{'note'}\n\n" . "-" x 70 . "\n"; - print "

$Args::args{'note'}

"; + print "

".Print::html_encode($Args::args{'note'})."

"; close(NOTES); } @@ -527,7 +526,7 @@ sub read_norm { } } else { - print "$_
"; + print Print::html_encode($_); } if (/^Volume: ($::REG_VNAME) Meta: ([0-9\-]+)/o) { @@ -690,7 +689,7 @@ sub write_seq_man { print "Event Added to Sequencer file:

\n" . "$::d2m[$Args::args{'mon'}] $Args::args{'day'}, $Args::args{'year'} " . "$Args::args{'hour'}:$Args::args{'min'}:$Args::args{'sec'}

\n" - . "$Args::args{'note'}
\n" + . Print::html_encode($Args::args{'note'})."
\n" . "

" @@ -849,6 +848,7 @@ sub read_seq { print "\n"; # Print the actual note + $note[$i] = Print::html_encode($note[$i]); $note[$i] = " " if ($note[$i] eq ""); print "$note[$i]\n";