Allow data-* attributes (#1489860)

This commit is contained in:
Aleksander Machniak
2014-05-08 15:08:45 +02:00
parent 48e92fcbba
commit 7079110c61
2 changed files with 3 additions and 4 deletions

View File

@@ -1232,7 +1232,7 @@ EOF;
// generate html code for button
if ($btn_content) {
$attrib_str = html::attrib_string($attrib, array_merge($link_attrib, array('data-*')));
$attrib_str = html::attrib_string($attrib, $link_attrib);
$out = sprintf('<a%s>%s</a>', $attrib_str, $btn_content);
}