PistoiaHELM / HELMWebEditor

Web browser based editor for drawing HELM macromolecules.
MIT License
20 stars 10 forks source link

Additional quote symbol is added to rule when saving #214

Closed ypotier closed 6 years ago

ypotier commented 6 years ago

I created a new rule copied from existing rule for replacement: function(plugin){ var n = plugin.replaceMonomer(org.helm.webeditor.HELM.BASE, 'P','sP');return n>0; } You can see it on the screenshot: image

after being saved, you can see the following code with additional quote around the monomer codes: image

When trying the apply that rule, these new quote symbol cause an error message: image

this issue does not exist with the other replacement script using single quote. I also tried editing the code but the new quote symbol are still added.

scilligence commented 6 years ago

I believe this is an issue on the server side.

Markus, could you check it out?

ClairePA commented 6 years ago

I believe the quote issue has been resolved. Yohann, please can you check?

ypotier commented 6 years ago

This issue is fixed