Author: alj62888
Description:
Hi,
When doing the following:
{{{field |url |text |default=http://sdf.com?xxx=yyy&zzz=aaa |maxlength=3000 |mandatory}}}
and when loading the form, the form field value gets set to:
<a rel="nofollow" class="external free" href="http://sdf.com?xxx=yyy&zzz=aaa">http://sdf.com?xxx=yyy&zzz=aaa</a>
instead of the proper unformatted value:
http://sdf.com?xxx=yyy&zzz=aaa
I tried wrapping the default value with <nowiki> but that doesn't work.
PLEASE NOTE: The description of how to reproduce above is just the most isolated way. Realistically, I'm actually setting the default dynamically with {{#urlget:...}} like so:
But, I removed the urlget, and urldecode, just to isolate the problem and hard-coding the default to a URL produces the same problem exactly.
Thanks,
Al
Version: REL1_20-branch
Severity: major
OS: Linux
Platform: PC