summaryrefslogtreecommitdiff
path: root/program/include/rcmail_output_html.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-08 15:08:45 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-08 15:08:45 +0200
commit7079110c61d41020912baab91cef8b3a3acdb577 (patch)
treed23d414bc9b90ec1723cde585b042bb951744463 /program/include/rcmail_output_html.php
parent48e92fcbbabfce7ee9ff141c576954ae940e8f0d (diff)
Allow data-* attributes (#1489860)
Diffstat (limited to 'program/include/rcmail_output_html.php')
-rw-r--r--program/include/rcmail_output_html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php
index 1b836ab7d..42b208e89 100644
--- a/program/include/rcmail_output_html.php
+++ b/program/include/rcmail_output_html.php
@@ -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);
}