Report any technical problems you discover and discuss solutions.

XOT chanches script

  • rhvanloenen
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
12 years 2 months ago - 12 years 2 months ago #1937 by rhvanloenen
XOT chanches script was created by rhvanloenen
When I use script in a text panel to use an image, it always looks like:
<img src="http://localhost/xertetoolkits/USER-FILES/17-guest2-Nottingham/media/knoppen.JPG"/>

When I'm looking at the script, some of these script in the asame file are changes like:

see image. Here it is changed to readable script.

Why is XOT doing this? When I want to copy paste, it is much more difficult to find parts of the script.
Ronald
Attachments:
Last edit: 12 years 2 months ago by rhvanloenen.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #1939 by tom
Replied by tom on topic XOT chanches script
Because the HTML has to be put inside an xml file. And you cannot use < and > inside an xml file, so they are 'escaped' as &lt; and &gt;

Please Log in or Create an account to join the conversation.

  • rhvanloenen
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
12 years 2 months ago #1940 by rhvanloenen
Replied by rhvanloenen on topic XOT chanches script
But I see both in the same .xml?
Ronald

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #1942 by tom
Replied by tom on topic XOT chanches script
I suppose not exactly the same link, but a link in another place in the LO

Some items are stored in a CDATA section, and don't need escaping.

Frankly, it is not such a good idea to copy and paste and edit the .xml files directly. Hopefully you won't have a need anymore in the next release with the new editor.

Please Log in or Create an account to join the conversation.

Moderators: ronmjultenJohnSmith
Time to create page: 0.142 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo