Hi there, I must be overlooking something super simple, but I’m getting strange results from a url(). I’m pulling from a field on a subpage called filesPDF like this:
<a href="<?= $subpage->filesPDF()->first()->url(); ?>" target="_blank">
and the result I’m getting is:
<a href="- name.pdf" target="_blank">
sometimes I also get the same thing but with → in it and lots of %20%20. I’ve re-read the href a hundred times over and there are no extra spaces or anything, so really unsure why the “-” and sometimes “->” are finding their way into the link. Any ideas? All help appreciated!