View Single Post
  #1 (permalink)  
Old May 3rd, 2004, 03:26 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default Bug in the editing feature

Hi all,

There is a little bug in the forum that has been troubling me for some time. When you edit your post, some HTML tags are replaced with their Snitz equivalents. For example, try this:

1. Create a new message, and add the following code:

  [code]
  Hi, I am a code example.<br />
  <br />
  [/code]

2. Click the Post New Reply button.

3. Click the Edit Reply button, to get back to the message editor:
The code now looks like this:

  [code]
  Hi, I am a code example.[br]
  [br]
  [/code]

The real HTML line breaks have been replaced with Snitz equivalents, causing a true line break in the code example, instead of the intended br element in the code text.

Is this something that can be fixed? I messed up a few HTML code examples already, and I don't feel like replacing the Snitz codes every time I edit a message....
Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Man Next Door by Massive Attack (Track 7 from the album: Mezzanine) What's This?
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!