0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-28 20:52:21 +01:00

#1715: strip code of styles when in a pre

This commit is contained in:
Mark Otto 2012-02-04 22:23:20 -08:00
parent 7e81f84b29
commit 468688638d
3 changed files with 4 additions and 0 deletions

Binary file not shown.

View File

@ -494,7 +494,9 @@ pre.prettyprint {
}
pre code {
padding: 0;
color: inherit;
background-color: transparent;
border: 0;
}
form {
margin: 0 0 18px;

View File

@ -39,6 +39,8 @@ pre {
// Account for some code outputs that place code tags in pre tags
code {
padding: 0;
color: inherit;
background-color: transparent;
border: 0;
}
}