diff --git a/js/test.js b/js/test.js
index 3e6e0775..2939df04 100644
--- a/js/test.js
+++ b/js/test.js
@@ -804,8 +804,9 @@ describe('Model', function () {
element = element.join('');
value = value.join('').trim();
- //
,
instead
- if (['br', 'col', 'hr', 'tr', 'td', 'th', 'wbr'].indexOf(element) >= 0) {
+ //
,
instead + if (['br', 'col', 'hr', 'img', 'tr', 'td', 'th', 'wbr'].indexOf(element) >= 0) { element = 'p'; }