Explorar o código

HUE-7296 [frontend] Don't mark invisible space in the Ace highlight binding

Johan Ahlen %!s(int64=8) %!d(string=hai) anos
pai
achega
e6a00b3

+ 1 - 0
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -5831,6 +5831,7 @@
           });
 
           element.innerHTML = '<div class="ace_editor ace-hue"><div class="ace_layer" style="position: static;">' + res.join('') + '</div></div>';
+          $(element).find('.ace_invisible_space').remove();
         });
       }