I read in one of the forum postings, you strip tags from
the fields. I would like to cast my vote for making that
an admin sitewide option, and/or only allow admins to
enter html code in fields.
Another great case is being able to add html code into
the comments. Comment example: See an example of
the following code at this site <A HREF="http..">link</A>
Along the same lines, what about being able to enter
HTML code into the code section. Maybe you could
make that an admin option either at the field level, or by
selecting a new highlight mode [ASIS] which tells the
highlighter to display the code as entered including any
HTML code.
----
My final thoughts are how about maybe stripping out
HTML code, but allow UBB type code commonly used in
forums. You could probably borrow the code from a
forum's source.
Strip all HTML codes, but allow the following UBB type
codes as seen at this URL:
http://logicnow.com/forum/misc.php?do=bbcode
I suggest supporting these codes:
[b], [i], [u] Bold / Italic / Underline
[color] Color
[left], [right], [center] Left / Right / Center
[indent] Indent
[url] URL Hyperlinking
[code] code snippet * only in the code field.
Allow the above UBB codes on the Description and
Comments fields, and allowing the UBB codes when the
highligher [ASIS] or [UBB] are selected.
Just some ideas.
John
Logged In: YES
user_id=612156
Version 0.5 has a sitewide configuration option for
allowable tags within the description and comments fields.
I don't strip any code from the snippet itself, besides one
or two slight modifications to make things display properly.
--Brad Fears