<img> tag has no end tag

This commit is contained in:
Carlos Ferreira 2018-03-14 21:32:17 +01:00 committed by GitHub
parent 2abb916c16
commit 13c429fbac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -372,8 +372,8 @@ humhub.module('ui.richtext', function(module, require, $) {
},
init: function(feature, options) {
options.data = feature.emojis;
options.insertTpl = "<img data-emoji-name=';${name};' class='atwho-emoji' width='18' height='18' src='" + module.config['emoji.url'] + "${name}.svg' />";
options.displayTpl = "<li class='atwho-emoji-entry' data-value=';${name};'><img width='18' height='18' src='" + module.config['emoji.url'] + "${name}.svg' /></li>";
options.insertTpl = "<img data-emoji-name=';${name};' class='atwho-emoji' width='18' height='18' src='" + module.config['emoji.url'] + "${name}.svg'>";
options.displayTpl = "<li class='atwho-emoji-entry' data-value=';${name};'><img width='18' height='18' src='" + module.config['emoji.url'] + "${name}.svg'></li>";
},
parse: function($clone) {
$clone.find('.atwho-emoji').each(function() {