- Posts: 12
- Thank you received: 0
Problem w HTML quote entered in Custom Field
- lashelleinman
-
Topic Author
- Offline
Less
More
14 years 5 months ago - 14 years 5 months ago #45632
by lashelleinman
Problem w HTML quote entered in Custom Field was created by lashelleinman
Hi,
I have a custom field called 'Ingredients' in which I put my products' ingredients into. I am trying to have each ingredient link to an anchor within another page AND have it open in a new window. The problem I'm having is that one of my quotes is being changed by the system into " and breaking the html.
For example, I enter:
<a href=" www.aliu.biz/index.php/our-ingredients/a...nts#Distilled_Water” target="_blank">Distilled Water
And the system changes it to:
<a href=" www.aliu.biz/index.php/our-ingredients/a...nts#Distilled_Water” target="_blank">Distilled Water
Is this a system bug or am I doing something wrong?
UPDATE: I was manually replacing the " with " after the system changed my html after pasting & saving. I just realised that the second " on my url wasn't being recognised as a second quote; once I erased it and retyped it then I was able to correct the quotes around my target and it saved correctly. However, this doesn't fix the problem of being unable to paste my html from WordPad (plain text) into the text area without the system changing it (as detailed in the next post).
I have a custom field called 'Ingredients' in which I put my products' ingredients into. I am trying to have each ingredient link to an anchor within another page AND have it open in a new window. The problem I'm having is that one of my quotes is being changed by the system into " and breaking the html.
For example, I enter:
<a href=" www.aliu.biz/index.php/our-ingredients/a...nts#Distilled_Water” target="_blank">Distilled Water
And the system changes it to:
<a href=" www.aliu.biz/index.php/our-ingredients/a...nts#Distilled_Water” target="_blank">Distilled Water
Is this a system bug or am I doing something wrong?
UPDATE: I was manually replacing the " with " after the system changed my html after pasting & saving. I just realised that the second " on my url wasn't being recognised as a second quote; once I erased it and retyped it then I was able to correct the quotes around my target and it saved correctly. However, this doesn't fix the problem of being unable to paste my html from WordPad (plain text) into the text area without the system changing it (as detailed in the next post).
Last edit: 14 years 5 months ago by lashelleinman. Reason: Found reason why quote was being changed
Please Log in or Create an account to join the conversation.
- lashelleinman
-
Topic Author
- Offline
Less
More
- Posts: 12
- Thank you received: 0
14 years 5 months ago #45635
by lashelleinman
Replied by lashelleinman on topic Re: Problem w HTML quote entered in Custom Field
Just to update this - I've just tried pasting the html from WordPad and it's turned my html into the following:
<a href="”http://www.aliu.biz/index.php/our-ingredients/about-our-ingredients#Jojoba_Oil” target=_blank">
It puts an extra quote at the beginning of the http and removes a quote from the beginning of my _blank"
<a href="”http://www.aliu.biz/index.php/our-ingredients/about-our-ingredients#Jojoba_Oil” target=_blank">
It puts an extra quote at the beginning of the http and removes a quote from the beginning of my _blank"
Please Log in or Create an account to join the conversation.
14 years 5 months ago #45646
by nicolas
Replied by nicolas on topic Re: Problem w HTML quote entered in Custom Field
Hi,
Try to use simple quotes instead of double quotes.
Try to use simple quotes instead of double quotes.
Please Log in or Create an account to join the conversation.
Time to create page: 0.135 seconds