[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesdk/scripts
From: Luis Pedro Coelho <luis_pedro () netcabo ! pt>
Date: 2003-10-25 14:58:21
[Download RAW message or body]
CVS commit by luis_pedro:
Escape special characters of HTML.
Corrects "cvsblame kdelibs/khtml/khtml_part.cpp" for example.
+ $line =~ s/&/&/g;
+ $line =~ s/</</g;
+ $line =~ s/>/>/g;
M +3 -0 cvsblame 1.12
--- kdesdk/scripts/cvsblame #1.11:1.12
@@ -152,4 +152,7 @@
} else {
$line =~ s/\"/\\\"/g;
+ $line =~ s/&/&/g;
+ $line =~ s/</</g;
+ $line =~ s/>/>/g;
$content = "$content<br>$line";
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic