Thomas Hochstein a80a57b780 [plugin_comments] Don't strip HTML unconditionally.
If serendipity_event_unstrip_tags is active, we
don't want to strip HTML tags from comments; we
want to keep and encode them with entities. So
we should do that here, too.

As the frontend_display hook - that is catched by
serendipity_event_unstrip_tags - is called quite
late, we have to skip the strip_tags() call
before truncatin the entry.

(I'm not sure why we first strip _all_ tags and
later on keep _some_ tags (that have already
been removed), but that's maybe because the
frontend_display hook may have re-added some
tags? Be it as it may, we do that for 14
years, so I don't want to change that now.)

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-24 15:24:10 +02:00
2016-01-26 16:42:27 +01:00
2020-03-28 15:22:58 +01:00
2017-01-02 09:42:37 +01:00
2008-12-09 10:41:48 +00:00
2016-05-19 14:27:16 +02:00
2019-04-27 18:36:23 +02:00
2018-07-18 11:23:02 +02:00
2019-04-27 18:31:25 +02:00
2014-12-10 14:34:54 +01:00

Serendipity - A reliable, secure & extensible PHP blog

Serendipity is a PHP-powered weblog engine which gives the user an easy way to maintain a blog. While the default package is designed for the casual blogger, Serendipity offers an expandable framework with the power for professional applications.

Description
幸運な偶然 - A PHP blog software // This was me trying to raise the PHP code to newer standards without breaking anything. Halfway in I've decided that S9Y is abandonware and went with WordPress.
Readme BSD-3-Clause 50 MiB
Languages
PHP 83.2%
Smarty 9.6%
CSS 4.5%
JavaScript 1.8%
HTML 0.7%
Other 0.1%