aboutsummaryrefslogtreecommitdiffstats
path: root/english/template/debian/recent_list.wml
diff options
context:
space:
mode:
authorRhonda D'Vine <alfie>2004-02-19 16:55:30 +0000
committerRhonda D'Vine <alfie>2004-02-19 16:55:30 +0000
commit5dcb2f6e703297fd27a6eaa3c09711d4ed54fff6 (patch)
tree10c7175ff94b3f3ca8f407c723587cfd312beab3 /english/template/debian/recent_list.wml
parent0c5abac526b47de06c7e8e4dfb7dcaac02464f51 (diff)
Really fix the HTML problem (hopefully)
CVS version numbers english/template/debian/recent_list.wml: 1.112 -> 1.113
Diffstat (limited to 'english/template/debian/recent_list.wml')
-rw-r--r--english/template/debian/recent_list.wml6
1 files changed, 4 insertions, 2 deletions
diff --git a/english/template/debian/recent_list.wml b/english/template/debian/recent_list.wml
index 6a08b37f447..81a053c77f6 100644
--- a/english/template/debian/recent_list.wml
+++ b/english/template/debian/recent_list.wml
@@ -321,8 +321,10 @@ sub grab_titles {
$moreinfo =~ s/<(?:email|url) "([^>]+)">/$1/g;
# HTML links
$moreinfo =~ s/<a href="[^>]+">([^<]+)<\/a>/$1/g;
- # HTML paragraph
- $moreinfo =~ s/<\/?p>//g;
+ # HTML tags
+ $moreinfo =~ s/</&lt;/g;
+ $moreinfo =~ s/>/&gt;/g;
+ $moreinfo =~ s/"/&quot;/g;
# HTML entities
$moreinfo =~ s/(&[^#;]+;)/&decodehtmlentity($1)/ge;
</protect>

© 2014-2024 Faster IT GmbH | imprint | privacy policy