diff options
author | Simon Rettberg | 2016-09-07 17:23:30 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-09-07 17:23:30 +0200 |
commit | c86f4161abc11d048d75d12442850849c55709b2 (patch) | |
tree | 27c93bcc920c94ddeb08b004809f998b55dfc47c /modules-available/news/page.inc.php | |
parent | Merge branch 'modularization' of dnbd3:openslx-ng/slx-admin into modularization (diff) | |
download | slx-admin-c86f4161abc11d048d75d12442850849c55709b2.tar.gz slx-admin-c86f4161abc11d048d75d12442850849c55709b2.tar.xz slx-admin-c86f4161abc11d048d75d12442850849c55709b2.zip |
[news] Switch to new ellipsis hack; fix saving when summernote is in source code view
Diffstat (limited to 'modules-available/news/page.inc.php')
-rw-r--r-- | modules-available/news/page.inc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/news/page.inc.php b/modules-available/news/page.inc.php index 50e07458..ee377dc4 100644 --- a/modules-available/news/page.inc.php +++ b/modules-available/news/page.inc.php @@ -109,6 +109,7 @@ class Page_News extends Page if ($row['newsid'] == $this->newsId) { $row['active'] = 'active'; } + $row['content'] = strip_tags(str_replace('>', '> ', $row['content'])); $lines[] = $row; } // fetch the list of the older helps @@ -120,6 +121,7 @@ class Page_News extends Page if ($row['newsid'] == $this->newsId) { $row['active'] = 'active'; } + $row['content'] = strip_tags(str_replace('>', '> ', $row['content'])); $linesHelp[] = $row; } |