summaryrefslogtreecommitdiffstats
path: root/template/admin/html/main.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-11-28 23:46:09 +0100
committerThomas Lange <code@nerdmind.de>2017-11-28 23:46:09 +0100
commit552fb9720ebba066b9b983a6415f7195e123216b (patch)
tree5aea47d694a365baabe084591d5a58dfc39ee4cc /template/admin/html/main.php
parent99a39cc80ea3eb6f58a87ab31452885f5cb60735 (diff)
downloadblog-552fb9720ebba066b9b983a6415f7195e123216b.tar.gz
blog-552fb9720ebba066b9b983a6415f7195e123216b.tar.xz
blog-552fb9720ebba066b9b983a6415f7195e123216b.zip
Bugfix: The "excerpt" function had returned a string with unnecessary whitespace between the truncated text and the $replace string ("[…]") if the truncated text from the regular expression had contained whitespace at the end (before it was concatenated with $replace). This issue has been fixed by passing the truncated text directly after truncation to the "trim" function (before the truncated text is concatenated with $replace). In addition, the now unnecessary "trim" call within the "excerpt" function has been removed.
Diffstat (limited to 'template/admin/html/main.php')
0 files changed, 0 insertions, 0 deletions