Browse Source

fix line separator

main
yggverse 8 months ago
parent
commit
be0cfb21fb
  1. 3
      src/webui/search.php

3
src/webui/search.php

@ -483,9 +483,8 @@ $results = $query->offset($p * $config->webui->pagination->limit - $config->webu @@ -483,9 +483,8 @@ $results = $query->offset($p * $config->webui->pagination->limit - $config->webu
<div>
<?php if (!empty($result->getHighlight()['url'])) { ?>
<?php foreach ($result->getHighlight()['url'] as $url) { ?>
<p>
<br />
<a href="<?php echo $result->url ?>"><?php echo urldecode($url) ?></a>
</p>
<?php } ?>
<?php } else if (!empty($result->title)) { ?>
<a href="<?php echo $result->url ?>"><?php echo htmlentities(urldecode($result->url)) ?></a>

Loading…
Cancel
Save