Browse Source

implement links date

PHP-GTK3
yggverse 4 months ago
parent
commit
13eb358d93
  1. 12
      src/Model/Gtk/Pango/Markup/Gemtext.php

12
src/Model/Gtk/Pango/Markup/Gemtext.php

@ -125,11 +125,15 @@ class Gemtext extends \Yggverse\Yoda\Abstract\Model\Gtk\Pango\Markup @@ -125,11 +125,15 @@ class Gemtext extends \Yggverse\Yoda\Abstract\Model\Gtk\Pango\Markup
$prefix
),
$entity->getAddress(),
sprintf(
'%s %s',
trim(
implode(
' ',
[
$prefix,
$entity->getAlt() ? $entity->getAlt()
: $entity->getAddress() // @TODO date
$entity->getDate(),
$entity->getAlt() ? $entity->getAlt() : $entity->getAddress()
]
)
)
);
}

Loading…
Cancel
Save