Is there a library for translating an html string to a css string and vice versa?

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
autocart
Posts: 214
Joined: 12 May 2014, 07:42

Is there a library for translating an html string to a css string and vice versa?

24 Jan 2023, 21:38

Hi all,

as you all probably are aware of, there are different rules for escaping certain characters in an html context compared to a css context.

I am wondering is there a library for ahk 2 that supports conversion or translation from one kind of string to the other?
If it only exists for ahk 1 then that would still be interesting as well.

Thank you all. Kind regards, a.
autocart
Posts: 214
Joined: 12 May 2014, 07:42

Re: Is there a library for translating an html string to a css string and vice versa?

25 Jan 2023, 05:59

@Chunjee, thank you, that is a start.
However, it says on these pages:
No other characters are escaped. To escape additional characters use a third-party library.
Respectively:
No other HTML entities are unescaped. To unescape additional HTML entities use a dedicated third-party library.
Thus, do you (or someone else here) know of a more sophisticated third-party library?

Besides, CSS escape sequences are not handled in the linked biga.ahk library at all, as far as I saw.
Do you (or someone else here) have one for that too?

Many, many thanks in advance. Regards, a.

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: Xeilous and 31 guests