Fixed bug parsing comments

This commit is contained in:
DHTMLGoodies
2017-09-02 13:12:53 +02:00
parent ddeb4e8510
commit 88b0b3fbf0
2 changed files with 41 additions and 4 deletions

View File

@@ -131,7 +131,7 @@ class PgnGameParser{
}
private function getMoveString() {
$tokens = preg_split("/\n\n/s", $this->pgnGame);
$tokens = preg_split("/\]\n\n/s", $this->pgnGame);
if(count($tokens) < 2){
return "";
}