don't warn if translations include <code>

pull/1/head
ansuz 3 years ago
parent 79b927453f
commit e3337a77b6

@ -14,13 +14,11 @@ var simpleTags = [
// FIXME register_notes // FIXME register_notes
'<ul class="cp-notes-list">', '<ul class="cp-notes-list">',
'</ul>', '</ul>',
'<li>',
'</li>',
'<span class="red">', '<span class="red">',
'</span>', '</span>',
]; ];
['a', 'b', 'em', 'p', 'i'].forEach(function (tag) { ['a', 'b', 'em', 'p', 'i', 'code', 'li',].forEach(function (tag) {
simpleTags.push('<' + tag + '>'); simpleTags.push('<' + tag + '>');
simpleTags.push('</' + tag + '>'); simpleTags.push('</' + tag + '>');
}); });

Loading…
Cancel
Save