From: Marcel Werk Date: Fri, 19 Aug 2016 17:01:53 +0000 (+0200) Subject: Fixed missing quote links X-Git-Tag: 3.0.0_Beta_1~649 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2a44e228f0a23b225b2f1379f0cc8b7a01899318;p=GitHub%2FWoltLab%2FWCF.git Fixed missing quote links --- diff --git a/wcfsetup/install/files/lib/system/html/input/filter/MessageHtmlInputFilter.class.php b/wcfsetup/install/files/lib/system/html/input/filter/MessageHtmlInputFilter.class.php index 04938470aa..71320e2f12 100644 --- a/wcfsetup/install/files/lib/system/html/input/filter/MessageHtmlInputFilter.class.php +++ b/wcfsetup/install/files/lib/system/html/input/filter/MessageHtmlInputFilter.class.php @@ -50,7 +50,7 @@ class MessageHtmlInputFilter implements IHtmlInputFilter { // quotes $definition->addAttribute('blockquote', 'data-author', 'Text'); - $definition->addAttribute('blockquote', 'data-url', 'URI'); + $definition->addAttribute('blockquote', 'data-link', 'URI'); // code $definition->addAttribute('pre', 'data-file', 'Text'); diff --git a/wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeBlockquote.class.php b/wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeBlockquote.class.php index 9e5e15497f..b5c7d7d035 100644 --- a/wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeBlockquote.class.php +++ b/wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeBlockquote.class.php @@ -34,7 +34,7 @@ class HtmlOutputNodeBlockquote extends AbstractHtmlOutputNode { $nodeIdentifier = StringUtil::getRandomID(); $htmlNodeProcessor->addNodeData($this, $nodeIdentifier, [ 'author' => $element->getAttribute('data-author'), - 'url' => $element->getAttribute('data-url') + 'url' => $element->getAttribute('data-link') ]); $htmlNodeProcessor->renameTag($element, 'wcfNode-' . $nodeIdentifier);