View Single Post
  #1  
Old 02-23-2017, 09:35 AM
 
madhatter717 madhatter717 is offline
 

Member
  
Join Date: Oct 2016
Posts: 24
 

Default html 5 download attribute

Hi xcart team,

How can I get the html 5 download attribute to work in the wysiwyg?

I have entered this code into the wysiwyg :

<p><a href="/46marketingguide.pdf" download> test download</a></p>

and the wysiwyg "cleans" or purifies the download attribute from the codebase.

In our config.php file I have HTML.Trusted = On which should allow all html attributes to be allowed, so why isnt the download attribute being recognized and what is the work around for this?

also we are using xcart business v5.2.14 so if you could give me an answer for that version i would appreciate it.

thanks in advance

maddhatter717
__________________
x-cart business 5.2.14
Reply With Quote