diff options
| author | erangamapa <erangamapa@gmail.com> | 2013-03-14 01:38:24 +0530 |
|---|---|---|
| committer | Dhruv <dhruv.goel92@gmail.com> | 2013-09-15 15:41:52 +0530 |
| commit | 224c8633777720e271210d8e845ab0c0c0aa2882 (patch) | |
| tree | 67764ac713d47381487df6b293b4cb98cf9475f9 /phpBB/feed.php | |
| parent | 72b92f70f1d06dbd26d8aff9738eb6bd74cdf6a5 (diff) | |
| download | forums-224c8633777720e271210d8e845ab0c0c0aa2882.tar forums-224c8633777720e271210d8e845ab0c0c0aa2882.tar.gz forums-224c8633777720e271210d8e845ab0c0c0aa2882.tar.bz2 forums-224c8633777720e271210d8e845ab0c0c0aa2882.tar.xz forums-224c8633777720e271210d8e845ab0c0c0aa2882.zip | |
[ticket/11271] Removed in-line attachment comments properly.
Added a new regex to remove in-line attachment comments.
PHPBB3-11271
Diffstat (limited to 'phpBB/feed.php')
| -rw-r--r-- | phpBB/feed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php index 9f0f0b2294..5a42ca6c37 100644 --- a/phpBB/feed.php +++ b/phpBB/feed.php @@ -343,7 +343,7 @@ function feed_generate_content($content, $uid, $bitfield, $options, $forum_id, $ } // Remove Comments from inline attachments [ia] - $content = preg_replace('#<div class="(inline-attachment|attachtitle)">(.*?)<!-- ia(.*?) -->(.*?)<!-- ia(.*?) -->(.*?)</div>#si','$4',$content); + $content = preg_replace('#<dd>(.*?)</dd>#','',$content); // Replace some entities with their unicode counterpart $entities = array( |
