Go Diagram after SGF problem.

Is something wrong? Do you have any suggestions? Let us know.
Post Reply
User avatar
Dusk Eagle
Gosei
Posts: 1758
Joined: Tue Apr 20, 2010 4:02 pm
Rank: 4d
GD Posts: 0
Has thanked: 378 times
Been thanked: 375 times

Go Diagram after SGF problem.

Post by Dusk Eagle »

It seems that when a user pastes an sgf onto the forum, and that sgf contains [*go*] (minus the *), any go diagrams after that post won't be parsed properly. As an example, here is a post from Chew where this occurs:
Chew Terr wrote:I would appreciate a look at the opening of this game, if the offer's still open? It's something a bit different than my normal (Kobayashi) fuseki, and was actually my first game in a few weeks.

Click Here To Show Diagram Code
[go]$$B Moves 1 to 8
$$ +---------------------------------------+
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . 6 . . . . . |
$$ | . . . 2 . . . . . , . . . . . 1 . . . |
$$ | . . 8 . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . 7 . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . , . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . 3 , . . . . . , . . . . . 4 . . . |
$$ | . . . . . . . . . 5 . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ +---------------------------------------+[/go]
Gah, I had that diagram working a minute ago. Does anyone see what I messed up on the diagram? Mods, if you do, feel free to edit this to fix it.
We don't know who we are; we don't know where we are.
Each of us woke up one moment and here we were in the darkness.
We're nameless things with no memory; no knowledge of what went before,
No understanding of what is now, no knowledge of what will be.
User avatar
Jordus
Site Admin
Posts: 1125
Joined: Fri Dec 04, 2009 6:06 pm
Rank: KGS 9k
GD Posts: 0
Universal go server handle: Jordus
Location: Allegan, MI, USA
Has thanked: 16 times
Been thanked: 116 times
Contact:

Re: Go Diagram after SGF problem.

Post by Jordus »

hmmm interesting... you can fix it by adding

Code: Select all

[/go] before the [/sgf] like this :  [/go][/sgf]

your original post (with the fix in it):
It seems that when a user pastes an sgf onto the forum, and that sgf contains [*go*] (minus the *), any go diagrams after that post won't be parsed properly. As an example, here is a post from Chew where this occurs:
Chew Terr wrote:I would appreciate a look at the opening of this game, if the offer's still open? It's something a bit different than my normal (Kobayashi) fuseki, and was actually my first game in a few weeks.

Click Here To Show Diagram Code
[go]$$B Moves 1 to 8
$$ +---------------------------------------+
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . 6 . . . . . |
$$ | . . . 2 . . . . . , . . . . . 1 . . . |
$$ | . . 8 . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . 7 . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . , . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . 3 , . . . . . , . . . . . 4 . . . |
$$ | . . . . . . . . . 5 . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ +---------------------------------------+[/go]
Gah, I had that diagram working a minute ago. Does anyone see what I messed up on the diagram? Mods, if you do, feel free to edit this to fix it.
as for an auto fix... I'll have to look into it...
I'm thinking...
Post Reply