diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-07-26 13:45:54 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-07-26 13:45:54 +0200 |
commit | 793361f8d644d7597b936a4471753c3b32f288cb (patch) | |
tree | 38fdc58d8b64eaaaa395ec76a0b019696ed960e3 /inc/parser | |
parent | 7c3370d33dfcec4a713e6b1e40cacad19998bf51 (diff) | |
download | rpg-793361f8d644d7597b936a4471753c3b32f288cb.tar.gz rpg-793361f8d644d7597b936a4471753c3b32f288cb.tar.bz2 |
Avoid double encoding for RSS titles FS#1705
Ignore-this: 3e02f7f87047627230ff95fd4a38de32
darcs-hash:20090726114554-7ad00-4ad7f6e5c9a95eea352ab909a54798a5a773e9f1.gz
Diffstat (limited to 'inc/parser')
-rw-r--r-- | inc/parser/xhtml.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 57e9621e1..5a1c1893b 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -775,8 +775,10 @@ class Doku_Renderer_xhtml extends Doku_Renderer { // support feeds without links $lnkurl = $item->get_permalink(); if($lnkurl){ + // title is escaped by SimplePie, we unescape here because it + // is escaped again in externallink() FS#1705 $this->externallink($item->get_permalink(), - $item->get_title()); + htmlspecialchars_decode($item->get_title())); }else{ $this->doc .= ' '.$item->get_title(); } |