On Tue 11 Jan 2005, Andrew Black <andrew3(a)black1.org.uk> wrote:
It seems to me that the Wiki being too generous/
trusting to allow the
punter to enter their own HTML tags.
The tags that are allowed are:
a p b strong i em pre small img table td tr th br hr ul li center
blockquote kbd div code strike sub sup font
Anything else is stripped. I'm fairly sure each of those is in there
because somebody has wanted them at some point, and I don't see
anything really malicious that can be done with them. Actually we
could probably do without center and font now we have div, perhaps
some others too.
We could make it a config option if any Guide operators wanted it to
be, but I'm slightly wary of config options that might get too long
since Config::Tiny won't handle them properly if they get linewrapped
by someone's editor. (And I believe there are editors that will do
this without asking you.)
If a punter puts an <i> in then it is presumably
his responsibility
to put in the </i> which did not happen in this case.
Or someone else will fix it when they see it's wrong, just like any
other typo or formatting mistake.
On the other hand if they use Wiki style formatting -
'' in this
case then they will get it right - if you only put one '' in the
Wiki doesn't make the text italic.
I hate that bit of wiki formatting. No, I don't hate it exactly, but
I never use it because I can't remember which way round bold and
italic go. So I think it's best to have a choice.
(It is also nice to have some universally-understood formatting tools
available, if only for the new/passing visitor who isn't yet excited
enough about OpenGuides to believe the time worth reading the
formatting conventions worthwhile on top of the time already spent
reading the "how to use this guide" and "local conventions" and so
on.)
(People don't read documentation until they have to.)
Example :
<p>
..snip.. . -- Flick</i></p>
<p><i><i> ..snip.. -- Chris</i></i></p>
<!-- NODE CONTENT ENDS -->
Which URL is this at? I can't find it. I looked in versions 5 and 6
of the Smiths of Smithfield node.
Kake