Jump to content

Javascript form and double quotes in product name


Recommended Posts

I want to embed a Javascript form for which in a field to have the name of the product.

I call the {$product->name|escape:'htmlall':'UTF-8'} variable in the url and everything goes ok but if the name of the product contains double quotes " the name display stops at "

 

Ex: Roasted Cofee "Excelence" is displayed as Roasted Cofee

 

I'm a bit lost in getting the full name.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...