Fix quote metacode conversion
authorTim Düsterhus <duesterhus@woltlab.com>
Sun, 13 Nov 2016 13:31:18 +0000 (14:31 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Sun, 13 Nov 2016 13:31:37 +0000 (14:31 +0100)
wcfsetup/install/files/lib/system/html/metacode/converter/QuoteMetacodeConverter.class.php

index 2bc10d4596995b8855762e7878fb645387aa2876..8ac9c96fb2303d66f1378b88a5643f9cf20faa39 100644 (file)
@@ -16,8 +16,8 @@ class QuoteMetacodeConverter extends AbstractMetacodeConverter {
         */
        public function convert(\DOMDocumentFragment $fragment, array $attributes) {
                $element = $fragment->ownerDocument->createElement('woltlab-quote');
-               $element->setAttribute('data-quote-title', isset($attributes[0]) ? $attributes[0] : '');
-               $element->setAttribute('data-quote-url', isset($attributes[1]) ? $attributes[1] : '');
+               $element->setAttribute('data-author', isset($attributes[0]) ? $attributes[0] : '');
+               $element->setAttribute('data-link', isset($attributes[1]) ? $attributes[1] : '');
                $element->appendChild($fragment);
                
                return $element;