• Post Reply Bookmark Topic Watch Topic
  • New Topic

glitch when editing post  RSS feed

 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when I create a block of code, then edit it, the "" html tags remain visible in the post
eg:
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

[ September 23, 2003: Message edited by: Jamie Robertson ]
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, so there is no problem in this forum, but see my edited post in the JDBC forum here for the problem!
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ummm, I can't tell which edited post you're referring to. But probably the issue is that in most of our forums, esp. those in which people post code frequently, HTML is turned off, which means most HTML tags will appear as text. This is actually helpful if people are actually talking about tags, or writing code that uses tags, e.g. in

we probably want to see the tags, rather than see

To get the first effect in this forum, it's more difficult since HTML is enabled; I had to write &lt; in place of <. Since we'd like to minimize the number of times people have to do that we keep HTML off in most forums unless there's an apparent reason why we should enable it.
Generally, in mot of our forums where HTML is turned off, if you want to achieve special formatting effects you need to use UBB tags instead. I'm not sure what you were actually trying to do though. Hope that helps...
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jim, the problem ( if there is one ) is that when you edit a post in a forum where HTML is disabled and it has a code block, HTML tags that I did not write or want showed up in my code block. I believe this is a result of Thomas's effort to increase the font size of code in code blocks. The actual tags that are visible after editing your post is the < font size="2" > as the first line of code within the code block and the end tag before the closing code block tag. If this isn't a problem then just ignore, it's just annoying erasing these tags every time I edit a post with code tags in a forum where HTML is disabled.
here is what my above posts would have done in the JDBC forum:
BEFORE EDIT: see my first two posts
AFTER EDIT WILL LOOK LIKE:

Jamie
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, that. Sorry, I'm slow sometimes. This particular problem is all Tom's fault. That is, it's a side effect of his hack to fix the font size of code tags. Marilyn and I brought it up back here, but no one else seemed to care at the time. Now, indeed, those <font size="2"> tags are showing up all over the place whenever someone edits a post. You can fix it by simply removing them yourself when you edit, but it's something you have to do each time you edit. (Or at least, the last time you edit.) We can try to study the UBB code to find a better way to implement this fix.
[ September 24, 2003: Message edited by: Jim Yingst ]
(Marilyn fixed link)
[ September 24, 2003: Message edited by: Marilyn de Queiroz ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!