Added support for one line pgn

This commit is contained in:
DHTMLGoodies
2017-03-01 19:51:08 +01:00
parent a834acb72e
commit 2b1e3e0f04
2 changed files with 7 additions and 0 deletions

View File

@@ -66,6 +66,7 @@ class PgnParser
$c = $this->pgnContent;
$c = preg_replace('/"\]\s{0,10}\[/s', "]\n[", $c);
$c = preg_replace('/"\]\s{0,10}([\.0-9])/s', "\"]\n\n$1", $c);
$c = preg_replace("/{\s{0,6}\[%emt[^\}]*?\}/","",$c);