mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
define line as argument
This commit is contained in:
parent
c05107078f
commit
450910b1b9
1 changed files with 2 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue