From 2a44e228f0a23b225b2f1379f0cc8b7a01899318 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 19 Aug 2016 19:01:53 +0200 Subject: [PATCH] Fixed missing quote links --- .../system/html/input/filter/MessageHtmlInputFilter.class.php | 2 +- .../system/html/output/node/HtmlOutputNodeBlockquote.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.20.1