Html entities in forms not rendered in ODK Collect

Hi,

Html entities within texts in forms are not decoded in ODK Collect. Or
at least not numeric entities such as 见 (chinese characters).

They are shown literally (ampersand hash numbers semicolon).

Is this the expected behaviour??? Shouldn't html entities be decoded??

thanks
m.

Matteo,

Works for me on Android 4.0.2, and I'm pretty sure it works on other
versions of Android. Also tried '™' which is the trademark
lettering.

Yaw

··· On Wed, Feb 15, 2012 at 05:59, Matteo Sisti Sette wrote: > Hi, > > Html entities within texts in forms are not decoded in ODK Collect. Or at > least not numeric entities such as 见 (chinese characters). > > They are shown literally (ampersand hash numbers semicolon). > > Is this the expected behaviour??? Shouldn't html entities be decoded?? > > thanks > m.

Is it possible that this has been fixed after Collect 1.1.7?

I'm using 1.1.7 because I've "hacked" it a little bit (when that was
the latest version) and I still haven't learned how to generate a
patch of my changes and apply it to a newer version.

··· 2012/2/16 Yaw Anokwa : > Matteo, > > Works for me on Android 4.0.2, and I'm pretty sure it works on other > versions of Android. Also tried '™' which is the trademark > lettering. > > Yaw > > On Wed, Feb 15, 2012 at 05:59, Matteo Sisti Sette wrote: >> Hi, >> >> Html entities within texts in forms are not decoded in ODK Collect. Or at >> least not numeric entities such as 见 (chinese characters). >> >> They are shown literally (ampersand hash numbers semicolon). >> >> Is this the expected behaviour??? Shouldn't html entities be decoded?? >> >> thanks >> m.

--
Matteo Sisti Sette
matteosistisette@gmail.com
http://www.matteosistisette.com

Probably not. We've supported XML entities for a long time.

··· On Thu, Feb 16, 2012 at 10:41, matteo sisti sette wrote: > Is it possible that this has been fixed after Collect 1.1.7? > > I'm using 1.1.7 because I've "hacked" it a little bit (when that was > the latest version) and I still haven't learned how to generate a > patch of my changes and apply it to a newer version. > > 2012/2/16 Yaw Anokwa : >> Matteo, >> >> Works for me on Android 4.0.2, and I'm pretty sure it works on other >> versions of Android. Also tried '™' which is the trademark >> lettering. >> >> Yaw >> >> On Wed, Feb 15, 2012 at 05:59, Matteo Sisti Sette wrote: >>> Hi, >>> >>> Html entities within texts in forms are not decoded in ODK Collect. Or at >>> least not numeric entities such as 见 (chinese characters). >>> >>> They are shown literally (ampersand hash numbers semicolon). >>> >>> Is this the expected behaviour??? Shouldn't html entities be decoded?? >>> >>> thanks >>> m. > > > > -- > Matteo Sisti Sette > matteosistisette@gmail.com > http://www.matteosistisette.com

Ouchhh SORRY FORGET ABOUT IT

I'm actually serving the form the wrong way (encoding html entities twice)!!

:blush: :x :#

··· 2012/2/16 matteo sisti sette : > Is it possible that this has been fixed after Collect 1.1.7? > > I'm using 1.1.7 because I've "hacked" it a little bit (when that was > the latest version) and I still haven't learned how to generate a > patch of my changes and apply it to a newer version. > > 2012/2/16 Yaw Anokwa : >> Matteo, >> >> Works for me on Android 4.0.2, and I'm pretty sure it works on other >> versions of Android. Also tried '™' which is the trademark >> lettering. >> >> Yaw >> >> On Wed, Feb 15, 2012 at 05:59, Matteo Sisti Sette wrote: >>> Hi, >>> >>> Html entities within texts in forms are not decoded in ODK Collect. Or at >>> least not numeric entities such as 见 (chinese characters). >>> >>> They are shown literally (ampersand hash numbers semicolon). >>> >>> Is this the expected behaviour??? Shouldn't html entities be decoded?? >>> >>> thanks >>> m. > > > > -- > Matteo Sisti Sette > matteosistisette@gmail.com > http://www.matteosistisette.com

--
Matteo Sisti Sette
matteosistisette@gmail.com
http://www.matteosistisette.com