Fixed signature preview
authorMarcel Werk <burntime@woltlab.com>
Mon, 26 Dec 2016 22:03:50 +0000 (23:03 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 26 Dec 2016 22:03:50 +0000 (23:03 +0100)
com.woltlab.wcf/templates/signatureEdit.tpl
wcfsetup/install/files/js/WCF.User.js

index 91266dfca5e8eac32f307bf30ea69c5674bfebd6..55f65319157eb8b2ba8de63c2b6881d04b6945af 100644 (file)
@@ -17,7 +17,7 @@
                <section class="section">
                        <h2 class="sectionTitle">{lang}wcf.user.signature.current{/lang}</h2>
                        
-                       {@$signatureCache}
+                       <div class="htmlContent">{@$signatureCache}</div>
                </section>
        {/if}
        
index 1b2960c9ade7842e1a07f3b201e2bdae1a7b097d..478ad7e38da0f9a1c78668c4f1ec56a2a6b0c23b 100644 (file)
@@ -1636,7 +1636,7 @@ WCF.User.SignaturePreview = WCF.Message.Preview.extend({
                // get preview container
                var $preview = $('#previewContainer');
                if (!$preview.length) {
-                       $preview = $('<section class="section" id="previewContainer"><h2 class="sectionTitle">' + WCF.Language.get('wcf.global.preview') + '</h2><div></div></section>').insertBefore($('#signatureContainer')).wcfFadeIn();
+                       $preview = $('<section class="section" id="previewContainer"><h2 class="sectionTitle">' + WCF.Language.get('wcf.global.preview') + '</h2><div class="htmlContent"></div></section>').insertBefore($('#signatureContainer')).wcfFadeIn();
                }
                
                $preview.children('div').first().html(data.returnValues.message);