I have a text type field and when I add or edit a ckeditor comes out, which is perfect. My problem is when I visualize this data, the images, texts, I do not have problems, but if I put it to download a pdf or a .rar, the address that comes out is the one I put in the ckeditor, but behind all the Address of the page.
<br> Example:
PDF address: assets / pdf / test.pdf
<br> address in the view: localhost / codeigniter / index.php / admin / text_page / assets / pdf / test.pdf
I need the controller and the function not to come out.
Thanks in advance.