소스 검색

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

Johan Ahlen 8 년 전
부모
커밋
e6a00b3dc7
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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).find('.ace_invisible_space').remove();
         });
       }