define line as argument

This commit is contained in:
yggverse 2024-08-01 21:12:50 +03:00
parent c05107078f
commit 450910b1b9

View file

@ -20,15 +20,14 @@ class Gemtext extends \Yggverse\Yoda\Abstract\Model\Gtk\Pango\Markup
string $request,
int $width = self::WRAP_WIDTH,
?string &$title = null,
bool $preformatted = false
bool $preformatted = false,
array $line = []
): string
{
$document = new Document(
$gemtext
);
$line = [];
foreach ($document->getEntities() as $entity)
{
switch (true)