The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit f03b9021 authored by Demian Katz's avatar Demian Katz
Browse files

Don't truncate Wikipedia text -- can cause broken HTML.

parent fcd48244
Branches
Tags
No related merge requests found
......@@ -7,7 +7,7 @@
<img src="<?=$this->info['image'] ?>" alt="<?=$this->escapeHtml($this->info['altimage']) ?>" width="150px" class="alignleft recordcover"/>
<? endif; ?>
<?=$this->truncate(preg_replace('/___baseurl___/', $this->url('search-results'), $this->info['description']), 4500, "...") ?>
<?=preg_replace('/___baseurl___/', $this->url('search-results'), $this->info['description']) ?>
<div class="providerLink"><a class="wikipedia" href="http://<?=$this->info['wiki_lang'] ?>.wikipedia.org/wiki/<?=$this->escapeHtml($this->info['name']/*url*/) ?>" target="new"><?=$this->translate('wiki_link') ?></a></div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment