• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Interesting UBB tag mismatch bug?

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I had a message posted that opened w/ a code tag and tried to close it with a quote tag.

In the "My Posts" section it rendered like this: (Hmm, just realized I have no idea how to embed a pic.)

It's attached. And embedded.



Fix the mis-matched tag, weird My Posts render thing goes away.
Picture 1.png
[Thumbnail for Picture 1.png]
Bad render, bad
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "weird My Posts render thing"? The font size looks a bit bigger than normal, but otherwise it seems fine. Am I missing something?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah--that's shown without expanding the "details" link...
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the expanded version:



Picture 2.png
[Thumbnail for Picture 2.png]
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the same problem, please see the below link, where you can found what happened if UBB tag is not closed
[ See thread subject: [+] Servlets ยป Garbage collection in Struts application ]
http://www.coderanch.com/forums/posts/listTopicsByUser/7/1/165494
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34223
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can reproduce this on my machine. I'll debug it later.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34223
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem was a span tag where a div should be. It will be fixed in the next deployment.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cool; thanks :) Oh, in the UBB tag stuff you mean?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34223
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:Cool; thanks :) Oh, in the UBB tag stuff you mean?

Not really. The div/span was around the code. When UBB tags were mismatched, they had a span in them. Which messed things up.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This fix has been released.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic