Adding Notes
| From: | Michael T. Babcock | Date: | Sun, 30 Jul 2000 20:40:26 +0000 |
| Subject: | Adding Notes | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-1456@lists.php.net to get a copy of this message | ||
Re: http://www.php.net/manual/add-note.php
The above site mentions that only "<P>" and "<BR>" are now
supported.
The grey area mentions to use "<PRE>" to wrap code examples.
Unfortunately, "<PRE>" does not seem to be supported anymore and thus
users' comments look aweful.
I have two suggestions:
1) Offer a mandatory preview pane when the user submits their comment,
so they can see what it looks like first (and notice that they forgot a
tag or screwed up their PRE section), like freshmeat.net and
slashdot.org (optional on slashdot, mind you).
2) Re-enable "<PRE>" tags, but force a "<BR>" (during the initial
submission) for lines over a certain maximum length (say 132 chars).
This would prevent the massive abuses, but allow for reasonable code
example submissions.
--
Michael T. Babcock (PGP: 0xBE6C1895)
http://www.fibrespeed.net/~mbabcock/