diff --git a/lib/scripts/editor.js b/lib/scripts/editor.js
index fac084489246a7dc73987e5c360f5d82701fc79c..e96df7c8257c1f55ec2dbcfc9a8c3db37dadf1b5 100644
--- a/lib/scripts/editor.js
+++ b/lib/scripts/editor.js
@@ -63,7 +63,7 @@ var dw_editor = {
             ['smaller', function(){dw_editor.sizeCtl(editor,-100);}],
             ['wrap', function(){dw_editor.toggleWrap(editor);}]
         ], function (_, img) {
-            jQuery(document.createElement('IMG'))
+            jQuery(document.createElement('img'))
                 .attr('src', DOKU_BASE+'lib/images/' + img[0] + '.gif')
                 .attr('alt', '')
                 .click(img[1])