[fix] Remove code auto correction

This commit is contained in:
brunosimon
2016-10-24 19:34:59 +02:00
parent 7f8d90b2f4
commit 6757bb634b
+1 -1
View File
@@ -119,7 +119,7 @@ https://github.com/pc035860/angular-highlightjs.git */
compile: function(e, f, g) {
var h = e[0].innerHTML.replace(/^(\r\n|\r|\n)/m, ""),
i = e[0].textContent.replace(/^(\r\n|\r|\n)/m, "");
return e.html('<pre><code contenteditable="true" class="hljs"></code></pre>'),
return e.html('<pre><code contenteditable="true" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="hljs"></code></pre>'),
function(e, f, g, j) {
var k, l = c(g);
if (a.isDefined(l("escape")) ? k = b(l("escape")) : a.isDefined(l("no-escape")) && (k = b("false")), j.init(f.find("code")), l("onhighlight") && j.highlightCallback(function() {