2844 - Арт Проект. Ошибка турбо страниц

parent 339b9589
...@@ -63,7 +63,7 @@ class Rss extends BaseObject ...@@ -63,7 +63,7 @@ class Rss extends BaseObject
$text = preg_replace('/ (class|id|style)=".*?"/', '', $model->text); $text = preg_replace('/ (class|id|style)=".*?"/', '', $model->text);
$text = preg_replace('/(<img([^>]+\.gif[^>]+)>)/', '', $text); $text = preg_replace('/(<img([^>]+\.gif[^>]+)>)/', '', $text);
$text = preg_replace('/(<img[^>]+>)/', '<figure>$1</figure>', $text); $text = preg_replace('/(<img[^>]+>)/', '<figure>$1</figure>', $text);
$text = strtr($text, ['&ldquo;' => '"', '&rdquo;' => '"', '&lt;' => '<', '&gt;' => '>']); $text = strtr($text, ['&ldquo;' => '"', '&rdquo;' => '"', '&lt;' => '', '&gt;' => '']);
$item = new Item(); $item = new Item();
$item $item
->title($model->title) ->title($model->title)
......
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