1
0

example() method needs to RETURN not echo.

This commit is contained in:
Garvin Hicking
2014-03-05 13:28:26 +01:00
parent 79a565f4d9
commit 9bf64cccda
3 changed files with 3 additions and 3 deletions
plugins
serendipity_event_contentrewrite
serendipity_event_nl2br
serendipity_event_textile

@ -86,7 +86,7 @@ class serendipity_event_nl2br extends serendipity_event
}
function example() {
echo '<h3>PLEASE NOTE the implications of this markup plugin:</h3>
return '<h3>PLEASE NOTE the implications of this markup plugin:</h3>
<p>This plugin transfers linebreaks to HTML-linebreaks, so that they show up in your blog entry.</p>
<p>In two cases this can raise problematic issues for you:</p>
<ul>