mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-03-31 17:05:29 +00:00
show file annotations only
This commit is contained in:
parent
65e722d78a
commit
b41adca9ff
1 changed files with 4 additions and 3 deletions
|
|
@ -126,9 +126,10 @@ class Reader
|
|||
// Prepend tag meta or filename as plain description
|
||||
if (!empty($matches[0]))
|
||||
{
|
||||
$lines[] = trim(
|
||||
$matches[0],
|
||||
'<>'
|
||||
$lines[] = preg_replace(
|
||||
'/^<.*\s(.+)>$/',
|
||||
'$1',
|
||||
$matches[0]
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue