Commit 46868863 authored by Mark Otto's avatar Mark Otto
Browse files

#1715: strip code of styles when in a pre

parent 7e81f84b
Showing with 4 additions and 0 deletions
+4 -0
No preview for this file type
...@@ -494,7 +494,9 @@ pre.prettyprint { ...@@ -494,7 +494,9 @@ pre.prettyprint {
} }
pre code { pre code {
padding: 0; padding: 0;
color: inherit;
background-color: transparent; background-color: transparent;
border: 0;
} }
form { form {
margin: 0 0 18px; margin: 0 0 18px;
......
...@@ -39,6 +39,8 @@ pre { ...@@ -39,6 +39,8 @@ pre {
// Account for some code outputs that place code tags in pre tags // Account for some code outputs that place code tags in pre tags
code { code {
padding: 0; padding: 0;
color: inherit;
background-color: transparent; background-color: transparent;
border: 0;
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment