[SOLVED] Syntax Error with neoEditSetHtml - Forum

Forum Navigation
You need to log in to create posts and topics.

[SOLVED] Syntax Error with neoEditSetHtml

Hi,

I'm using this command:

neoEditSetHtml "NoteBox" "<p class="ql-align-right ql-direction-rtl"><br></p>"

as you see I'm using neoEdit plugin. I need to set html inside it but problem is character "
I tried to use [#34] for it like VisualNEO Win, but It's not working...

neoEditSetHtml "NoteBox" "<p class=[#34]ql-align-right ql-direction-rtl[#34]><br></p>"

How to deal with character " and other special characters in VisualNEO Web?

@noyzen, try this:

SetVar [quotes] '"'
neoEditSetHtml "NoteBox" "<p class=[quotes]ql-align-right ql-direction-rtl[quotes]><br></p>"

 

noyzen has reacted to this post.
noyzen

@noyzen you can also use UnicodeToChar to store any special character into a variable (click here for a list of unicode characters).

noyzen has reacted to this post.
noyzen

Thank you Luis, I will try both methods soon.

This is Important you should add it somewhere in help file in my opinion.

Regards.

Thanks Luis, I have tested your command above and It's working. <3