Commits

Anonymous committed c609680

Let's use monospace for longer things.

Comments (0)

Files changed (1)

             if _id and nv > 1024:
                 v = "%d bytes" % nv
                 short = False
-            else:
-                v = v.replace(' ', '&nbsp;').replace('\n', '<br />')
+            elif '\n' in v:
+                v = "<pre>%s</pre>" % v
             yield k, short, v, k in indexed
     doc = gendoc(cur)