Saving html text deletes value= tag.

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

Saving html text deletes value= tag.

Post by gwilsonmail »

When i paste the following

Code: Select all

<form method="POST" action="http://www.amazon.com/o/dt/assoc/handle-buy-box=0740749072" target="_blank">
<input type="hidden" name="asin.0740749072" value="1">
into the entry field of an article. The value="1" is removed after the save.

any idea where this is taking place? And more importantly - how do I turn it off?
This occurs with a basic setup, with little or no plugins added.
gw
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Saving html text deletes value= tag.

Post by garvinhicking »

Are you using the WYSIWYGT editor? That one does not support pasting HTML code properly.

Please paste the exact contents after saving here.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

Post by gwilsonmail »

Yes I was using the default wysiwyg editor.

Would an alternate editor help?
gw
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

No, all WYSIWYG editors rely on Browser internal functions. Those always modify and strip your HTML code.

The only way to paste HTML code that does not get modified is to disable the WYIWYG editor (temporarily).

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply