highlight: "display: block" and "line" only make sense in <pre> tags
[nit.git] / src / nitlight.nit
index b22e9f4..9112916 100644 (file)
@@ -72,7 +72,7 @@ for mm in mmodules do
                        page.add_raw_html """<link rel="stylesheet" type="text/css" href="style.css" />"""
                end
                page.add_raw_html """<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">\n"""
-               page.add_raw_html "</head><body><pre>"
+               page.add_raw_html "</head><body><pre class='nit_code'>"
        end
        v.enter_visit(m)
        if not opt_fragment.value then