Added support for one line pgn
This commit is contained in:
@@ -65,6 +65,8 @@ class PgnParser
|
||||
{
|
||||
$c = $this->pgnContent;
|
||||
|
||||
$c = preg_replace('/"\]\s{0,10}\[/s', "]\n[", $c);
|
||||
|
||||
$c = preg_replace("/{\s{0,6}\[%emt[^\}]*?\}/","",$c);
|
||||
|
||||
$c = preg_replace("/\\$[0-9]+/s", "", $c);
|
||||
|
Reference in New Issue
Block a user