diff --git a/include/layout.inc b/include/layout.inc index 26a59805b..c64ffe415 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -185,7 +185,6 @@ function commonHeader($title="",$dont_enclose=0,$headers_gone=0) { PHP<?php if ($title) echo ": $title";?> - \\1\\3",$text); + + /* this 'fixing' code will go away eventually. */ $fixes = array('
','

','

'); reset($fixes); while (list(,$f)=each($fixes)) { $text=str_replace(htmlspecialchars($f), $f, $text); $text=str_replace(htmlspecialchars(strtoupper($f)), $f, $text); } + + /* this will only break long lines */ if (function_exists("wordwrap")) { $text = wordwrap($text); } - $text = "".nl2br($text).""; + + $text = "
".$text."
"; return $text; } diff --git a/manual/add-note.php b/manual/add-note.php index c5e2228e0..22f347df4 100644 --- a/manual/add-note.php +++ b/manual/add-note.php @@ -71,10 +71,10 @@ Just add your comment in the big field below, and, optionally, your email address in the little one (usual anti-spam practices are OK, e.g. johnNOSPAM@doe.NO_SPAM.com).

-

Note that most HTML tags are not allowed in the posts. We tried -allowing them in the past, but people invariably made a mess of -things making the manual hard to read for everybody. You can include -<p>, </p>, and <br> tags.

+

Note that HTML tags are not allowed in the posts, but the note is presented +in side a <pre> element so formatting is preserved. URLs will be turned +into clickable links automatically. (Double-check that your note appears as you +want during the preview. That's why it is there!)

Read the following note carefully. If your post falls into one of the categories mentioned there, it will be rejected by one of the editors.

diff --git a/style.css b/style.css index b85c9e0d8..59fdaee49 100644 --- a/style.css +++ b/style.css @@ -36,6 +36,10 @@ code, pre { font-size: 90%; } +pre.note { + font-size: 80%; +} + h1 { font-family: arial,helvetica,sans-serif; font-size: 140%;