diff options
| author | 2013-12-23 13:32:28 +0100 | |
|---|---|---|
| committer | 2013-12-23 13:32:28 +0100 | |
| commit | 6552cf0da648aa4daf2ea1e57d78a87e57087ff8 (patch) | |
| tree | 972b884f5aaf23ab30ac814f7f1e386339740345 /lib/lib_rss.php | |
| parent | 24d9d1628d673f68fa0cc7b98a3ef9a8d021b070 (diff) | |
Fin fusion 0.7-dev
Diffstat (limited to 'lib/lib_rss.php')
| -rw-r--r-- | lib/lib_rss.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index dda576b98..a1fadcb24 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -309,16 +309,3 @@ function uSecString() { function invalidateHttpCache() { file_put_contents(DATA_PATH . '/touch.txt', uTimeString()); } - -/** - * Add support of image lazy loading - * Move content from src attribute to data-original - * @param content is the text we want to parse - */ -function lazyimg($content) { - return preg_replace( - '/<img([^<]+)src=([\'"])([^"\']*)([\'"])([^<]*)>/i', - '<img$1src="' . Url::display('/data/grey.gif') . '" data-original="$3"$5>', - $content - ); -} |
