From af74d72f388d6e00a540b3b60ba81f77bff65fd3 Mon Sep 17 00:00:00 2001 From: Peter Savchenko Date: Tue, 21 Feb 2017 16:32:24 +0300 Subject: [PATCH] Quote.js improved --- plugins/quote/quote.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/quote/quote.js b/plugins/quote/quote.js index 7b30140e..45c7a8b6 100644 --- a/plugins/quote/quote.js +++ b/plugins/quote/quote.js @@ -157,7 +157,7 @@ var quote = (function(quote_plugin) { /* make Author contentEditable */ author.contentEditable = 'true'; - author.textContent = data.cite || ''; + author.innerHTML = data.cite || ''; /* Appending created components */ wrapper.dataset.quoteStyle = 'withCaption'; @@ -200,11 +200,11 @@ var quote = (function(quote_plugin) { /* make author block contentEditable */ author.contentEditable = 'true'; - author.textContent = data.cite || ''; + author.innerHTML = data.cite || ''; /* Author's position and job */ job.contentEditable = 'true'; - job.textContent = data.caption || ''; + job.innerHTML = data.caption || ''; var authorsWrapper = ui_.makeBlock('DIV', [elementClasses_.withPhoto.authorHolder]); authorsWrapper.appendChild(author);