I have a link that is created by a variable as below:
<div class="pdf-download">
<a href="/images/documents/187/pdf-test.pdf|Download">Download</a>
</div>
This is being created by the following:
<div class="pdf-download">
<a href="/images/documents/<?= $this->item->id; ?>/<?= $pdfdownload ?>">Download</a>
</div>
I need to remove the "Download" from the url that is created by $pdfdownload.
What is the best way to do this?