mirror of
https://github.com/YGGverse/gemini-php.git
synced 2026-04-01 01:15:28 +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
|
// Prepend tag meta or filename as plain description
|
||||||
if (!empty($matches[0]))
|
if (!empty($matches[0]))
|
||||||
{
|
{
|
||||||
$lines[] = trim(
|
$lines[] = preg_replace(
|
||||||
$matches[0],
|
'/^<.*\s(.+)>$/',
|
||||||
'<>'
|
'$1',
|
||||||
|
$matches[0]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue