Browse Source

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

Johan Ahlen 8 years ago
parent
commit
e6a00b3dc7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

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