summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2012-02-15 13:09:19 -0600
committerDan McGee <dpmcgee@gmail.com>2012-02-15 13:09:19 -0600
commite84bb23abd63ade8408ddd14794057d8f910d6ce (patch)
tree43d989093984c66cf6fbdc0f041c5bbf8cf10718
parent8216c8cc256486ba21b787c75a7001507c4af0d8 (diff)
downloadwebsite-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.js2
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'));