Rev Simon Rumble wrote:
This node: http://london.openguides.org/index.cgi?Smiths_Of_Smithfield,_EC1M_6HJ
Problem is in version 6 - 7 fixes this instance of it.
Has a trailing <i> without a </i> which means that everything below that is italic. Any way to fix this everywhere?
How widespread a problem is this. If it only happens once a year then prob not worth loosing too much time over.
It seems to me that the Wiki being too generous/ trusting to allow the punter to enter their own HTML tags. 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. 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. Personally I (if I were specing the Wiki) would strip html out of the text before processing. The alternative would be to validate that the entered text is a correct snippet of HTML.
Actually - looking at it in a bit more detail - it seems that something is adding extra <i> and </i> - presumably to make the HTML it generates valid HTML.
Example : <p> ..snip.. . -- Flick</i></p> <p><i><i> ..snip.. -- Chris</i></i></p>
<!-- NODE CONTENT ENDS -->
<i><i><br clear="all"> </i></i><div id="find_within_distance">
<i><i> </i></i><form action="supersearch.cgi"> <i><i> <label for="distance">Find all things within</label>