0.23: Move strike button to <del> (html5)
This commit is contained in:
parent
8ef7971b4e
commit
14acbbac59
|
@ -38,8 +38,8 @@ class StrikeButton extends Button
|
||||||
} else {
|
} else {
|
||||||
$this->addClass('wrap_selection');
|
$this->addClass('wrap_selection');
|
||||||
$this->addClass('lang-html');
|
$this->addClass('lang-html');
|
||||||
$this->setOpenTag('p style=\'text-decoration: line-through;\'');
|
$this->setOpenTag('del');
|
||||||
$this->setCloseTag('p');
|
$this->setCloseTag('del');
|
||||||
}
|
}
|
||||||
return parent::render();
|
return parent::render();
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ class serendipity_event_typesetbuttons extends serendipity_event
|
||||||
$propbag->add('description', PLUGIN_EVENT_TYPESETBUTTONS_DESC);
|
$propbag->add('description', PLUGIN_EVENT_TYPESETBUTTONS_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Matthew Groeninger, Malte Diers, Matthias Gutjahr');
|
$propbag->add('author', 'Matthew Groeninger, Malte Diers, Matthias Gutjahr');
|
||||||
$propbag->add('version', '0.22.1');
|
$propbag->add('version', '0.23');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '1.7',
|
'serendipity' => '1.7',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
|
Loading…
Reference in a new issue