Commit 650e8df1 authored by Nigel McNie's avatar Nigel McNie
Browse files

Remove the 'last updated on' message from RSS blocktypes - it's confusing when exported.

parent 729f60d8
...@@ -427,11 +427,14 @@ class HtmlExportOutputFilter { ...@@ -427,11 +427,14 @@ class HtmlExportOutputFilter {
'#<img src="(' . $wwwroot . ')?/?js/tinymce/plugins/emotions/images/([^"]+)"([^>]+)>#', '#<img src="(' . $wwwroot . ')?/?js/tinymce/plugins/emotions/images/([^"]+)"([^>]+)>#',
// No forms // No forms
'#<form[^>]*>.*?</form>#si', '#<form[^>]*>.*?</form>#si',
// Gratuitous hack for the RSS blocktype
'#<div id="blocktype_externalfeed_lastupdate">[^<]*</div>#',
), ),
array( array(
'', '',
'<img src="' . $this->basepath . '/static/smilies/$2"$3>', '<img src="' . $this->basepath . '/static/smilies/$2"$3>',
'', '',
'',
), ),
$html $html
); );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment