I noticed that s9y is parsing my comments with serendipity_event_smartymarkup (so { } are parsed as smarty tag), even if it is told not to in the config options( plugin version 1.4). I'm using s9y 1.3alpha1 at the moment (the problem existed in the 1.2 betas too, as I upgraded after noticing the problem.)
A little look in the sourcecode I found this code in the plugin (and other plugins, too):
Code: Select all
foreach ($this->markup_elements as $temp) {
if (serendipity_db_bool($this->get_config($temp['name'], true)) && isset($eventData[$temp['element']]) && !$eventData['properties']['ep_disable_markup_' . $this->instance] && !isset($serendipity['POST']['properties']['disable_markup_' . $this->instance])) {
Code: Select all
isset($eventData[$temp['element']])
$temp['element'] is "body" for the article body and "comment" for comments. Which would be fine, except that comments also have a "body" array item, and so the comments are matched twice, once with
Code: Select all
$temp['element'] == "body"
Code: Select all
$temp['element'] == "comment"
I don't understand when this behavior has changed. The line in inc/functions_comments.inc.php
Code: Select all
$comment['body'] = $comment['comment'];