diff --git a/lib/gollum/frontend/public/gollum/css/gollum.css b/lib/gollum/frontend/public/gollum/css/gollum.css index f4502202..4fb9a8a9 100755 --- a/lib/gollum/frontend/public/gollum/css/gollum.css +++ b/lib/gollum/frontend/public/gollum/css/gollum.css @@ -10,6 +10,17 @@ A basic stylesheet for Gollum */ +/* + Fixes AsciiDoc listing block rendering. + Must be !important to override + .markdown-body code, .markdown-body tt { + in template.css. + https://github.com/github/gollum/issues/278 +*/ +pre > tt { + white-space: pre !important; +} + /* @section core */ body, html { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;