mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +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,
|
string $request,
|
||||||
int $width = self::WRAP_WIDTH,
|
int $width = self::WRAP_WIDTH,
|
||||||
?string &$title = null,
|
?string &$title = null,
|
||||||
bool $preformatted = false
|
bool $preformatted = false,
|
||||||
|
array $line = []
|
||||||
): string
|
): string
|
||||||
{
|
{
|
||||||
$document = new Document(
|
$document = new Document(
|
||||||
$gemtext
|
$gemtext
|
||||||
);
|
);
|
||||||
|
|
||||||
$line = [];
|
|
||||||
|
|
||||||
foreach ($document->getEntities() as $entity)
|
foreach ($document->getEntities() as $entity)
|
||||||
{
|
{
|
||||||
switch (true)
|
switch (true)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue