projects
/
matthijs
/
upstream
/
blosxom-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
20f6152
)
Fix overgeneralised story hook in rss20.
author
Gavin Carr
<gonzai@users.sourceforge.net>
Thu, 1 Nov 2007 11:18:26 +0000
(11:18 +0000)
committer
Gavin Carr
<gonzai@users.sourceforge.net>
Thu, 1 Nov 2007 11:18:26 +0000
(11:18 +0000)
gavinc/rss20
patch
|
blob
|
history
diff --git
a/gavinc/rss20
b/gavinc/rss20
index 4d7ac2951aa785bc236496d05086a79ea3a7ebec..8419ef151998d6c5e842db826edbe46821b1668c 100644
(file)
--- a/
gavinc/rss20
+++ b/
gavinc/rss20
@@
-74,12
+74,15
@@
sub start {
sub story {
my ($pkg, $path, $filename, $story_ref, $title_ref, $body_ref) = @_;
sub story {
my ($pkg, $path, $filename, $story_ref, $title_ref, $body_ref) = @_;
+ # Ignore flavours other than ours
+ return unless $blosxom::flavour eq $flavour;
+
# Don't double-encode if someone else has already done it
return unless $blosxom::encode_xml_entities;
# Encode and reset encode_xml_entities flag
$$title_ref = _escape_text( $$title_ref );
# Don't double-encode if someone else has already done it
return unless $blosxom::encode_xml_entities;
# Encode and reset encode_xml_entities flag
$$title_ref = _escape_text( $$title_ref );
- $$body_ref
=
_escape_html( $$body_ref );
+ $$body_ref
=
_escape_html( $$body_ref );
$blosxom::encode_xml_entities = 0;
}
$blosxom::encode_xml_entities = 0;
}