Fixed missing quote links
authorMarcel Werk <burntime@woltlab.com>
Fri, 19 Aug 2016 17:01:53 +0000 (19:01 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 19 Aug 2016 17:02:21 +0000 (19:02 +0200)
wcfsetup/install/files/lib/system/html/input/filter/MessageHtmlInputFilter.class.php
wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeBlockquote.class.php

index 04938470aa97861bfa9cc8da66c9d7429684191d..71320e2f12e0bb8fd6a1362969d82852b01eb23a 100644 (file)
@@ -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');
index 9e5e15497fe11e495f6ccebf9fa8bd2882eff64b..b5c7d7d0358d5db1906ee4a70e9cdbeb467ba87b 100644 (file)
@@ -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);