arnoudkooi / sn-scriptsync

Use sn-scriptsync in combination with SN Utils to be able to code in VS Code, including all benefits of a full fledged code editor
https://marketplace.visualstudio.com/items?itemName=arnoudkooicom.sn-scriptsync
Other
43 stars 28 forks source link

<script> tag corrupted (escaped) in UI Macros #83

Closed SongPing closed 1 year ago

SongPing commented 1 year ago

When editing components (jelly xml code in UI Macros e.g.) in Visual Studio, every time on saving the "script" tags get corrupted (escaped). From "" to "</script>" All other tags seems to be handled correctly.

As a feature request: To improve the extension even further, there could be an automatically handling of special characters like <,>,& in javascript code: Add <j2:set var="jvar_amp" value="&amp;"/> to the xml-file and replace & in code by $[jvar_amp] For <,>, ... accordingly. Thanks!!!

arnoudkooi commented 1 year ago

I think this is this solved by the below solution from the FAQ in the readme:

FAQs I'm using Githubissues.

  • Githubissues is a development platform for aggregating issues.