mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 09:34:10 +02:00
Highlighting only inside <code>
This commit is contained in:
@@ -22,8 +22,7 @@ function bodyLoad(version, protocol) {
|
||||
if (window.jushLinks) {
|
||||
jush.custom_links = jushLinks;
|
||||
}
|
||||
jush.highlight_tag('pre', 0);
|
||||
jush.highlight_tag('code');
|
||||
jush.highlight_tag('code', 0);
|
||||
}
|
||||
};
|
||||
script.onreadystatechange = function () {
|
||||
|
@@ -223,8 +223,7 @@ function ajaxSend(url, data) {
|
||||
clearTimeout(ajaxTimeout);
|
||||
setHtml('main', text);
|
||||
if (window.jush) {
|
||||
jush.highlight_tag('code');
|
||||
jush.highlight_tag('pre', 0);
|
||||
jush.highlight_tag('code', 0);
|
||||
}
|
||||
}
|
||||
}, data);
|
||||
|
Reference in New Issue
Block a user