PDA

View Full Version : FG support for CDATA?



dr_venture
September 18th, 2012, 03:18
I notice that the scripts I'm working with have "&lt;" instead of "<", which makes sence, since the scripts are directly embedded into an XML document. However, I really, really hate reading that.

Does anyone know of FG supports the use of the CDATA XML tag to embed text content? I could test it, but I'd rather know for certain that it's actually supported (as opposed to "it seems to work") before I start embedding scripts with CDATA tags.

Griogre
September 18th, 2012, 05:07
No, FG doesn't support CDATA.

dr_venture
September 18th, 2012, 05:42
Thanks, Griogre... that's what I figured.

*grumble*

phantomwhale
September 18th, 2012, 08:00
Better to put that code into separate lua files and include them with the <script> tag.

eldarune
September 17th, 2020, 08:31
For what it's worth, Lua code in CDATA appears to be supported in 3.3. However, FG Unity does not appear to recognise it so, yeah, not really supported.