1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Make use of line name instead of lineElements

This commit is contained in:
Aidan Woods
2019-01-21 18:44:19 +00:00
parent bb8a16ad81
commit c9388cb5c2
8 changed files with 9 additions and 9 deletions

View File

@@ -76,7 +76,7 @@ final class Header implements Block
return new Element(
'h' . \strval($this->level),
[],
$State->applyTo($Parsedown->lineElements($this->text))
$State->applyTo($Parsedown->line($this->text))
);
}
);