mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
<img> tag has no end tag
This commit is contained in:
parent
2abb916c16
commit
13c429fbac
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user