@wordpress/block-serialization-spec-parser 3.7.3-next.645224df70.0 → 3.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/grammar.pegjs +1 -1
- package/package.json +2 -3
- package/parser.js +2 -2
- package/parser.php +2 -2
package/grammar.pegjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-serialization-spec-parser",
|
|
3
|
-
"version": "3.7.3
|
|
3
|
+
"version": "3.7.3",
|
|
4
4
|
"description": "Block serialization specification parser for WordPress posts.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -33,6 +33,5 @@
|
|
|
33
33
|
"build": "concurrently \"npm run build:js\" \"npm run build:php\"",
|
|
34
34
|
"build:js": "pegjs --format commonjs -o ./parser.js ./grammar.pegjs",
|
|
35
35
|
"build:php": "node bin/create-php-parser.js"
|
|
36
|
-
}
|
|
37
|
-
"gitHead": "c24e259d5c29457b154032d88c83da7e08ad186c"
|
|
36
|
+
}
|
|
38
37
|
}
|
package/parser.js
CHANGED
|
@@ -249,8 +249,8 @@ function peg$parse(input, options) {
|
|
|
249
249
|
/** <?php return json_decode( $attrs, true ); ?> **/
|
|
250
250
|
return maybeJSON( attrs );
|
|
251
251
|
},
|
|
252
|
-
peg$c32 = /^[ \t\r\n]/,
|
|
253
|
-
peg$c33 = peg$classExpectation([" ", "\t", "\r", "\n"], false, false),
|
|
252
|
+
peg$c32 = /^[ \t\f\r\n]/,
|
|
253
|
+
peg$c33 = peg$classExpectation([" ", "\t", "\f", "\r", "\n"], false, false),
|
|
254
254
|
|
|
255
255
|
peg$currPos = 0,
|
|
256
256
|
peg$savedPos = 0,
|
package/parser.php
CHANGED
|
@@ -1564,8 +1564,8 @@ class Gutenberg_PEG_Parser {
|
|
|
1564
1564
|
$this->peg_c20 = "}";
|
|
1565
1565
|
$this->peg_c21 = array( "type" => "literal", "value" => "}", "description" => "\"}\"" );
|
|
1566
1566
|
$this->peg_c22 = "";
|
|
1567
|
-
$this->peg_c23 = array(array(32,32), array(9,9), array(13,13), array(10,10));
|
|
1568
|
-
$this->peg_c24 = array( "type" => "class", "value" => "[ \t\r\n]", "description" => "[ \t\r\n]" );
|
|
1567
|
+
$this->peg_c23 = array(array(32,32), array(9,9), array(12,12), array(13,13), array(10,10));
|
|
1568
|
+
$this->peg_c24 = array( "type" => "class", "value" => "[ \t\f\r\n]", "description" => "[ \t\f\r\n]" );
|
|
1569
1569
|
|
|
1570
1570
|
$peg_startRuleFunctions = array( 'Block_List' => array($this, "peg_parseBlock_List") );
|
|
1571
1571
|
$peg_startRuleFunction = array($this, "peg_parseBlock_List");
|