diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-02-09 11:51:23 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-02-09 12:52:31 +0300 |
commit | 6f351e10e0322cfe09ff313b38d6ee7ec524b3b0 (patch) | |
tree | 9a3a4d58671d40548bd754b36a94547fc3688a38 /js | |
parent | 70e94722ec1815ab990891a3162d90a39e735d88 (diff) |
Use CSS rules for formatted text only with formatted text previews
This will be needed in a following commit when plain text previews
generated by this app are introduced.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/public-share.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/public-share.js b/js/public-share.js index 7210ded..c1302db 100644 --- a/js/public-share.js +++ b/js/public-share.js @@ -45,7 +45,7 @@ $(document).ready(function(){ $.get(downloadUrl).success(function(content) { previewElement .removeClass('icon-loading') - .addClass('preview') + .addClass('preview formatted-text') .html(DOMPurify.sanitize( marked(content, { renderer: renderer, |