diff options
author | Dan McGee <dpmcgee@gmail.com> | 2012-02-15 13:09:19 -0600 |
---|---|---|
committer | Dan McGee <dpmcgee@gmail.com> | 2012-02-15 13:09:19 -0600 |
commit | e84bb23abd63ade8408ddd14794057d8f910d6ce (patch) | |
tree | 43d989093984c66cf6fbdc0f041c5bbf8cf10718 | |
parent | 8216c8cc256486ba21b787c75a7001507c4af0d8 (diff) | |
download | website-e84bb23abd63ade8408ddd14794057d8f910d6ce.tar.gz website-e84bb23abd63ade8408ddd14794057d8f910d6ce.zip |
Don't style pre tags if marked with notpretty class
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
-rw-r--r-- | media/script-4.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/script-4.js b/media/script-4.js index e12f253..af1097e 100644 --- a/media/script-4.js +++ b/media/script-4.js @@ -2,7 +2,7 @@ // Apply pretty-printing to code elements inside a pre tag function makePretty() { - $('pre > code').each( + $('pre > code').not('.notpretty').each( function(index) { $(this).parent().addClass('prettyprint'); $(this).parent().addClass($(this).attr('class')); |