From: Tim Düsterhus Date: Sun, 13 Nov 2016 13:31:18 +0000 (+0100) Subject: Fix quote metacode conversion X-Git-Tag: 3.0.0_Beta_5~62 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7f76f03ea3e62b82a8a521738bf353f27c123975;p=GitHub%2FWoltLab%2FWCF.git Fix quote metacode conversion --- diff --git a/wcfsetup/install/files/lib/system/html/metacode/converter/QuoteMetacodeConverter.class.php b/wcfsetup/install/files/lib/system/html/metacode/converter/QuoteMetacodeConverter.class.php index 2bc10d4596..8ac9c96fb2 100644 --- a/wcfsetup/install/files/lib/system/html/metacode/converter/QuoteMetacodeConverter.class.php +++ b/wcfsetup/install/files/lib/system/html/metacode/converter/QuoteMetacodeConverter.class.php @@ -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;