[Xerte] Re: Cannot display symbol on pages project

Dave Burnett d_b_burnett at hotmail.com
Sun May 5 17:25:56 BST 2013


Johnathan,
If I intercept pageIcon.templateData.annotatedDiagram[projPI].text and replace any instances of < with  <  it then displays properly.
I think it gets escaped and unescaped multiple times in the creation flow, so I thought intercepting it  just prior to display would be the safest way to go.
Date: Sun, 5 May 2013 16:28:32 +0100
From: johnathan.kemp at ntlworld.com
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: Cannot display symbol on pages project

I'm not sure its a model issue.

Based on some discussions on a recent post I think it is more to do with the movement of data between the flash wizard and the xml file and back again. The process of initially creating the xml data when you first complete the wizard, and then when you re-open the xml data to edit the page and save the changes results in changes to the xml data that affect the way the characters are stored in the xml data.

Kind regards
Johnathan
On 5 May 2013 13:23, Dave Burnett <d_b_burnett at hotmail.com> wrote:




Sorry the lousy custom search won't find post in the archives.
Here's the text though:
When he uses < the first time he gets an angle bracket but if he goes back to edit the text on a later occasion, angle brackets that worked as angle brackets suddenly become < text again. We’re going to try to replicate it on a couple of pages to show you a before and after. At the moment the workaround is get a page right before leaving it and then don’t edit it again!

Try that.

Alternatively, maybe edit the model a bit so that onLoad it reads in and rewrites the text appropriately . 





  














From: bell_beauty12 at hotmail.com

To: xerte at lists.nottingham.ac.uk
Date: Sun, 5 May 2013 03:16:55 +1200
Subject: [Xerte] Cannot display symbol on pages project




Hello.
 
I used Annotated Diagram from Interactivity Folder from Pages. I have problem in displaying symbols especially '<' and '∈'. It's thinking that it's a HTML tag. I tried several ways like <pre></pre>, /, \, """, '', to ignore the code, I tried HTML number, HTML name to represent those symbols (e.g < and < for '<') - none worked.

 
Please help,
Suhaila
 		 	   		  

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte 		 	   		  

_______________________________________________

Xerte mailing list

Xerte at lists.nottingham.ac.uk

http://lists.nottingham.ac.uk/mailman/listinfo/xerte





_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130505/69b7969f/attachment-0001.html>


More information about the Xerte mailing list