'<pre>' tag with &lt; changes to '<' in edit mode
Status: Beta
Brought to you by:
tneward
If a <pre> block contains a '<' to indicate a less than
sign (for example an XML snippet) it will show up as '<' in
the log entry. But when I edit this entry the page will
still show '<' and if I do not change this part the <pre>
block will not show up afterwards. This means I have to
go and change all '<' back to '<'.
I think it must be possible to open the 'edit' page and
save the entry without changes and still the same entry
should be displayed.
-Andy
Logged In: YES
user_id=70434
I attached a simple patch for this problem. It actually
changes all '&' in a text to the HTML sign '&' so that you
actually see '<' instead of '<'. I tested it in IE 6.0 and it
seems to work. Because I am not an HTML geek I cannot say
if it works all the time.
CVS patch