Browse Source

implement links date

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

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

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

Loading…
Cancel
Save