exelearning / iteexe

eXeLearning: Your Free and Open Source Editor to create Educational Resources.
http://exelearning.net
GNU General Public License v2.0
129 stars 47 forks source link

Editor interpret code even inside <pre><code> #761

Open alvaroaballe opened 2 weeks ago

alvaroaballe commented 2 weeks ago

I am trying to edit a text device to teach HTML. So it contains HTML code to be read only for humans. That why there are some HTML code inside pre and code tags. However, if the device is edited, eXe makes changes interpreting the HTML code inside pre and code tags.

ignaciogros commented 2 weeks ago

Could you confirm your eXe version and attach an example elp file? You'll need to change its extension to "zip".

alvaroaballe commented 2 weeks ago

It is Version 2.9

This* link [removed] has an elp file.

Thanks in advance.

ignaciogros commented 2 weeks ago

It's a bug. It seems that the UDL Content iDevice unescapes that code. We'll try to fix it as soon as possible. We will provide the JS file to replace when it's ready, but it won't be fixed in eXe until the next official version.

If you need to finish that content right now, you can use a Text iDevice. Sorry about the inconvenience.

¡Y muchas gracias por el aviso!