/*
* @title Remove error class on Bitbucket SyntaxHighlighter
* @description In case of output error clase in the use of delimiters.
* @include https://bitbucket.org/*
* @license MIT License
*/
(function(){
var pre = document.getElementsByTagName("pre")[1];
if (!pre) return;
var span = pre.getElementsByTagName("span");
for (var i=0; i<span.length; i++){
if (span[i].getAttribute("class")=="err"){
span[i].removeAttribute("class");
}
}
})()
;