@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | { |
180 | 180 | $params= preg_split('/(?<!\\\\)\\|/',$this->line->pregGet('/^-[\w-:]+\((.*?)\)(?= |(\\{>)?$)/',1)); |
181 | 181 | |
182 | - if( ($m= count($params)) != ($n= count($this->config['params'])) ){$this->document->throw("Tag $this->name has $n parameters $m given.");} |
|
182 | + if( ($m= count($params)) != ($n= count($this->config['params'])) ){$this->document->throw("tag $this->name has $n parameters $m given.");} |
|
183 | 183 | |
184 | 184 | array_map(function( $key, $value ){return $this->setAttribute($key,$this->checkExpression(str_replace('\\|','|',$value)));},$this->config['params'],$params); |
185 | 185 | |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | protected function setAttribute( string$key, string$value, string$condition=null ):self |
382 | 382 | { |
383 | 383 | if( isset($this->attributes[$key]) ) |
384 | - { $this->document->throw("Attribute $key of $this->name cannot redeclare."); } |
|
384 | + { $this->document->throw("attribute $key of $this->name cannot redeclare."); } |
|
385 | 385 | |
386 | 386 | $this->attributes[$key]=[ |
387 | 387 | 'value'=> $value, |