0.23: Move strike button to <del> (html5)

This commit is contained in:
onli 2018-08-05 13:25:37 +02:00
parent 8ef7971b4e
commit 14acbbac59
2 changed files with 3 additions and 3 deletions

View file

@ -38,8 +38,8 @@ class StrikeButton extends Button
} else {
$this->addClass('wrap_selection');
$this->addClass('lang-html');
$this->setOpenTag('p style=\'text-decoration: line-through;\'');
$this->setCloseTag('p');
$this->setOpenTag('del');
$this->setCloseTag('del');
}
return parent::render();
}

View file

@ -36,7 +36,7 @@ class serendipity_event_typesetbuttons extends serendipity_event
$propbag->add('description', PLUGIN_EVENT_TYPESETBUTTONS_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Matthew Groeninger, Malte Diers, Matthias Gutjahr');
$propbag->add('version', '0.22.1');
$propbag->add('version', '0.23');
$propbag->add('requirements', array(
'serendipity' => '1.7',
'smarty' => '2.6.7',