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.
[go]$$B Moves 1 to 8
$$ +---------------------------------------+
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . 6 . . . . . |
$$ | . . . 2 . . . . . , . . . . . 1 . . . |
$$ | . . 8 . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . 7 . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . , . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . 3 , . . . . . , . . . . . 4 . . . |
$$ | . . . . . . . . . 5 . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ +---------------------------------------+';
var displayText = "";
var originalDisplayText = "";
if (myVal.length > 0)
{
myVal = myVal.replace(/
/g, "%0D%0A");
var lineArray = myVal.split("%0D%0A");
var dollarIndex = lineArray[0].indexOf("$$");
if (dollarIndex >= 0)
{
var spaceIndex = lineArray[0].indexOf(" ", dollarIndex);
if (spaceIndex > 0)
{
displayText = lineArray[0].substring(spaceIndex);
originalDisplayText = displayText;
displayText = displayText.replace(/\n/g, "
");
}
}
if (originalDisplayText != "")
{
myVal = myVal.replace(originalDisplayText, "");
}
myVal = myVal.replace(/\s+/g, '%20');
myVal = myVal.replace(/#+/g, '%23');
myVal = myVal.replace(/&+/g, '%26');
myVal = myVal.replace(/\++/g, '%2B');
myVal = myVal.replace(/\/+/g, '%2F');
myVal = myVal.replace(/'%'+/g, '%25');
myVal = myVal.replace(/:+/g, '%3A');
myVal = myVal.replace(/;+/g, '%3B');
myVal = myVal.replace(/<+/g, '%3C');
myVal = myVal.replace(/>+/g, '%3E');
myVal = myVal.replace(/\?+/g, '%3F');
myVal = myVal.replace(/\'+/g, '%27');
myVal = myVal.replace(/\"+/g, '%22');
}
document.write("

" + displayText + "
");
- Click Here To Show Diagram Code
[go]BL[807.869]
;W[fp]WL[888.781]
;B[hr]BL[801.561]
;W[gs]WL[878.016]
;B[ii]BL[767.669]
;W[jk]WL[872.859]
;B[ki]BL[756.258]
;W[lk]WL[866.15]
;B[lp]BL[724.047]
;W[in]WL[855.345]
;B[io]BL[714.131]
;W[jn]WL[848.466]
;B[mp]BL[698.232]
;W[nq]WL[845.878]
;B[mm]BL[630.557]
;W[nk]WL[835.759]
;B[lh]BL[594.539]
;W[lf]WL[816.001]
;B[oj]BL[574.154]
;W[mi]WL[810.571]
;B[mh]BL[568.613]
;W[ni]WL[800.196]
;B[oi]BL[499.331]
;W[nh]WL[795.747]
;B[mf]BL[498.275]
;W[me]WL[778.458]
;B[oh]BL[484.868]
;W[kj]WL[768.913]
;B[lr]BL[412.51]
;W[lq]WL[764.489]
;B[kq]BL[407.26]
;W[mr]WL[762.313]
;B[kr]BL[393.837]
;W[ko]WL[757.074]
;B[kp]BL[391.66]
;W[np]WL[753.602]
;B[jo]BL[359.853]
;W[kn]WL[737.32]
;B[ob]BL[295.767]
;W[nb]WL[733.338]
;B[kf]BL[260.709]
;W[le]WL[729.284]
;B[lg]BL[230.436]
;W[pn]WL[704.741]
;B[pm]BL[210.234]
;W[on]WL[680.016]
;B[na]BL[190.415]
;W[ma]WL[676.522]
;B[oa]BL[184.755]
;W[lb]WL[674.181]
;B[qp]BL[130.721]
;W[pq]WL[668.881]
;B[sr]BL[116.829]
;W[qr]WL[665.571]
;B[no]BL[94.69]
;W[qm]WL[658.006]
;B[rm]BL[44.534]
;W[qo]WL[649.378]
;B[rn]BL[38.234]
;W[om]WL[640.998]
;B[pl]BL[18.15]
;W[mn]WL[624.914]
;B[ol]BL[30]OB[5]
;W[nl]WL[618.552]
;B[mo]BL[30]OB[5]
;W[ln]WL[609.716]
;B[ie]BL[30]OB[5]
;W[of]WL[564.15]
;B[og]BL[30]OB[5]
;W[pe]WL[560.949]
;B[qe]BL[30]OB[5]
;W[oe]WL[558.835]
;B[qf]BL[30]OB[5]
;W[ok]WL[535.539]
;B[pk]BL[30]OB[5]
;W[hb]WL[532.227]
;B[eb]BL[30]OB[5]
;W[db]WL[529.098]
;B[da]BL[30]OB[5]
;W[ca]WL[525.57]
;B[ea]BL[30]OB[5]
;W[bb]WL[522.722]
;B[bk]BL[30]OB[5]
;W[bj]WL[519.264]
;B[aj]BL[30]OB[5]
;W[ai]WL[515.951]
;B[ak]BL[30]OB[5]
;W[bh]WL[508.886]
;B[ro]BL[30]OB[5]
;W[je]WL[491.133]
;B[jf]BL[30]OB[5]
;W[oc]WL[487.236]
;B[qb]BL[30]OB[5]
;W[hc]WL[481.515]
;B[gd]BL[30]OB[5]
;W[id]WL[477.236]
;B[he]BL[30]OB[5]
;W[ef]WL[472.301]
;B[eg]BL[30]OB[5]
;W[ee]WL[467.498]
;B[nj]BL[30]OB[5]
;W[mj]WL[460.619]
;B[nn]BL[30]OB[5]
;W[nm]WL[452.94]
;B[jj]BL[30]OB[5]
;W[ij]WL[441.915]
;B[ji]BL[30]OB[5]
;W[ff]WL[431.7]
;B[gf]BL[30]OB[5]
;W[ec]WL[425.453]
;B[fb]BL[30]OB[5]
;W[fi]WL[366.16]
;B[gh]BL[30]OB[5]
;W[gj]WL[354.252]
;B[ke]BL[30]OB[5]
;W[kd]WL[350.384]
;B[po]BL[30]OB[5]
;W[oo]WL[346.091]
;B[li]BL[30]OB[5]
;W[lj]WL[342.59]
;B[hn]BL[30]OB[5]
;W[hm]WL[338.898]
;B[gm]BL[30]OB[5]
;W[gl]WL[334.278]
;B[dn]BL[30]OB[5]
;W[dl]WL[327.469]
;B[cl]BL[30]OB[5]
;W[do]WL[325.441]
;B[co]BL[30]OB[5]
;W[hs]WL[321.665]
;B[is]BL[30]OB[5]
;W[gc]WL[313.989]
;B[fd]BL[30]OB[5]
;W[cs]WL[295.85]
;B[bs]BL[30]OB[5]
;W[ig]WL[291.031]
;B[kg]BL[30]OB[5]
;W[ds]WL[288.708]
;B[ga]BL[30]OB[5]
;W[gb]WL[285.41]
;B[ha]BL[30]OB[5]
;W[ia]WL[281.352]
;B[fa]BL[30]OB[5]
;W[jb]WL[280.087]
;B[hi]BL[30]OB[5]
;W[nf]WL[255.247]
;B[mg]BL[30]OB[5]
;W[ls]WL[252.292]
;B[ks]BL[30]OB[5]
;W[ms]WL[244.924]
;B[hj]BL[30]OB[5]
;W[ik]WL[242.338]
;B[rs]BL[30]OB[5]
;W[qs]WL[238.842]
;B[sq]BL[30]OB[5]
;W[df]WL[233.888]
;B[fh]BL[30]OB[5]
;W[ek]WL[225.502]
;B[od]BL[30]OB[5]
;W[nd]WL[222.125]
;B[qo]BL[30]OB[5]
;W[ss]WL[210.505]
;B[ib]BL[30]OB[5]
;W[ic]WL[207.232]
;B[rs]BL[30]OB[5]
;W[qd]WL[195.727]
;B[rd]BL[30]OB[5]
;W[ss]WL[193.215]
;B[im]BL[30]OB[5]
;W[hl]WL[186.232]
;B[rs]BL[30]OB[5]
;W[fo]WL[180.966]
;B[ho]BL[30]OB[5]
;W[ss]WL[177.147]
;B[fs]BL[30]OB[5]
;W[fr]WL[173.635]
;B[rs]BL[30]OB[5]
;W[ir]WL[170.161]
;B[jr]BL[30]OB[5]
;W[js]WL[164.889]
;B[cb]BL[30]OB[4]C[Chew [3k\]: =(
]
;W[is]WL[130.851]
;B[cc]BL[30]OB[4]
;W[cd]WL[125.899]
;B[bc]BL[30]OB[4]
;W[bd]WL[123.728]
;B[ba]BL[30]OB[4]
;W[ad]WL[117.951]
;B[ac]BL[30]OB[4]C[numata [2k\]: sory
Chew [3k\]: Eh, my mistake
Chew [3k\]: Well done
]
;W[]WL[81.118]
;B[]BL[30]OB[4]TW[ja][ka][la][ib][kb][mb][kc][lc][mc][ld][md][ae][be][ce][de][af][bf][ag][bg][ah][ch][bi][fk][gk][kk][mk][il][jl][kl][ll][ml][gm][im][jm][km][lm][mm][fn][gn][hn][nn][go][ho][io][jo][lo][mo][no][hp][ip][jp][kp][lp][mp][op][eq][gq][hq][iq][jq][kq][oq][hr][jr][kr][lr][nr][or][pr][es][fs][ks][ns][os][ps]TB[aa][ca][pa][qa][ra][sa][ab][bb][pb][rb][sb][qc][rc][sc][qd][sd][ge][re][se][hf][if][rf][sf][gg][hg][ig][jg][pg][qg][rg][sg][hh][ih][jh][kh][ph][qh][rh][sh][pi][qi][ri][si][pj][qj][rj][sj][rk][sk][al][bl][ql][rl][sl][am][bm][qm][sm][an][bn][cn][sn][ao][so][ap][bp][sp][aq][ar][as]C[Chew [3k\]: Thank you for the game
numata [2k\]: thank you
numata [2k\]: you strong very
numata [2k\]: good by
])').replace('http://lifein19x19.com', 'https://lifein19x19.com').replace('http://www.lifein19x19.com', 'https://www.lifein19x19.com') + "
");
[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.