"!" stripped from FORMFIELD data...

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

"!" stripped from FORMFIELD data...

Raymond Lutz
This used to work, but somehow the new version changed the operation.
Not sure this is a "bug" but what do you think.

Content of Field on a form is Map Embed data. When I view source of the
page, I see this in the form area. This displays the map correctly.

Map Embed </td>
<td> <iframe
src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d13314.64961079362!2d-117.671722!3d33.458101!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x2b857f2294e692e8!2sAgostino&#39;s+Italian+Restaurant!5e0!3m2!1sen!2sus!4v1425410206732"
width="600" height="450" frameborder="0" style="border:0"></iframe>
</td></tr>

However, if I use %FORMFIELD{"Map Embed"}%, I get this in the same topic:

<p></p>
<iframe
src="https://www.google.com/maps/embed?pb=1m141m81m31d13314.649610793622d-117.6717223d33.4581013m21i10242i7684f13.13m31m21s0x0%3A0x2b857f2294e692e82sAgostino&#39;s+Italian+Restaurant5e03m21sen2sus4v1425410206732"
width="600" height="450" frameborder="0" style="border:0"></iframe>
<p></p>

This shows a generic world map.

Note that the "!" characters are stripped, and it does not display the
map correctly.
I tried using <noautolink> <literal> etc and other things but no cigar.
This used to work okay, so I think it is a change from the prior version
I had installed. Any thoughts?


An example of this problem is here:
http://www.copswiki.org/Common/AgostinosRistoranteItaliano

--Ray Lutz


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Foswiki-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/foswiki-discuss
Reply | Threaded
Open this post in threaded view
|

Re: "!" stripped from FORMFIELD data...

Crawford Currie
On 03/03/15 20:06, Ray Lutz wrote:
> Map Embed </td>
> <td> <iframe
> src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d13314.64961079362!2d-117.671722!3d33.458101!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x2b857f2294e692e8!2sAgostino&#39;s+Italian+Restaurant!5e0!3m2!1sen!2sus!4v1425410206732"
> width="600" height="450" frameborder="0" style="border:0"></iframe>
> </td></tr>
Looks OK in 1.2 ... http://trunk.foswiki.org/Sandbox/TestCaseSensitivity

I suspect this is the old $value versus $value(display) problem.....

C.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Foswiki-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/foswiki-discuss
Reply | Threaded
Open this post in threaded view
|

Re: "!" stripped from FORMFIELD data...

Raymond Lutz
Any workarounds available?
--Ray

On 3/3/2015 1:05 PM, Crawford Currie wrote:

> On 03/03/15 20:06, Ray Lutz wrote:
>> Map Embed </td>
>> <td> <iframe
>> src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d13314.64961079362!2d-117.671722!3d33.458101!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x2b857f2294e692e8!2sAgostino&#39;s+Italian+Restaurant!5e0!3m2!1sen!2sus!4v1425410206732"
>> width="600" height="450" frameborder="0" style="border:0"></iframe>
>> </td></tr>
> Looks OK in 1.2 ... http://trunk.foswiki.org/Sandbox/TestCaseSensitivity
>
> I suspect this is the old $value versus $value(display) problem.....
>
> C.
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Foswiki-discuss mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/foswiki-discuss
>


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Foswiki-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/foswiki-discuss