Skip to content
Snippets Groups Projects
Commit b8dbfe20 authored by simonmar's avatar simonmar
Browse files

[haddock @ 2002-06-21 12:43:06 by simonmar]

When we have a single code block paragraph, don't place it in
<pre>..</pre>, just use <tt>..</tt> to avoid generating extra vertical
white space in some browsers.
parent f467a9b6
No related branches found
No related tags found
No related merge requests found
......@@ -861,6 +861,7 @@ htmlMarkup = Markup {
-- If the doc is a single paragraph, don't surround it with <P> (this causes
-- ugly extra whitespace with some browsers).
docToHtml (DocParagraph p) = docToHtml p
docToHtml (DocCodeBlock p) = docToHtml (DocMonospaced p)
docToHtml doc = markup htmlMarkup doc
-- -----------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment