forked from openkylin/platform_build
am 945ed36e: docs: add the ability to exclude PRE elements from being prettified by adding the class "no-pretty-print" (needs to hyphenate \'prettyprint\', otherwise the prettify script will parse "no-prettyprint" the same as "prettyprint")
Merge commit '945ed36ec486f83c4546cac8d6bed954dfe32c4e' into eclair-plus-aosp * commit '945ed36ec486f83c4546cac8d6bed954dfe32c4e': docs: add the ability to exclude PRE elements from being prettified
This commit is contained in:
commit
daa3b7a469
|
@ -64,7 +64,7 @@ addLoadEvent( function() {
|
|||
} );
|
||||
|
||||
addLoadEvent( function() {
|
||||
$("pre").addClass("prettyprint");
|
||||
$("pre:not(.no-pretty-print)").addClass("prettyprint");
|
||||
prettyPrint();
|
||||
} );
|
||||
|
||||
|
|
Loading…
Reference in New Issue