File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1196,7 +1196,7 @@ protected function _doTable_leadingPipe_callback($matches) {
1196
1196
$ head = $ matches [1 ];
1197
1197
$ underline = $ matches [2 ];
1198
1198
$ content = $ matches [3 ];
1199
- $ id_class = $ matches [4 ];
1199
+ $ id_class = $ matches [4 ] ?? null ;
1200
1200
1201
1201
$ content = preg_replace ('/^ *[|]/m ' , '' , $ content );
1202
1202
@@ -1226,7 +1226,7 @@ protected function _doTable_callback($matches) {
1226
1226
$ head = $ matches [1 ];
1227
1227
$ underline = $ matches [2 ];
1228
1228
$ content = $ matches [3 ];
1229
- $ id_class = $ matches [4 ];
1229
+ $ id_class = $ matches [4 ] ?? null ;
1230
1230
$ attr = [];
1231
1231
1232
1232
// Remove any tailing pipes for each line.
@@ -1256,7 +1256,7 @@ protected function _doTable_callback($matches) {
1256
1256
1257
1257
// Write column headers.
1258
1258
$ table_attr_str = $ this ->doExtraAttributes ('table ' , $ id_class , null , []);
1259
- $ text = "<table { $ table_attr_str} > \n" ;
1259
+ $ text = "<table $ table_attr_str> \n" ;
1260
1260
$ text .= "<thead> \n" ;
1261
1261
$ text .= "<tr> \n" ;
1262
1262
foreach ($ headers as $ n => $ header ) {
You can’t perform that action at this time.
0 commit comments