samhocevar / wincompose

🔣 Compose Key for Windows
http://wincompose.info/
Other
2.61k stars 83 forks source link

Escaping double quotes in .Xcompose #344

Open tylerdq opened 4 years ago

tylerdq commented 4 years ago

I can't find a way to output a snippet with double quotes. Some arrangements I've tried:

<Multi_key> <h> <l>  :  "<a href="" target="_blank"></a>"  # HTML link in new tab
<Multi_key> <h> <l>  :  "<a href=\"\" target=\"_blank\"></a>"  # HTML link in new tab
<Multi_key> <h> <l>  :  "<a href=\042\042 target=\042_blank\042></a>"  # HTML link in new tab
<Multi_key> <h> <l>  :  "<a href='"''"' target='"'_blank'"'></a>"  # HTML link in new tab

Is it possible to include double quotes in snippets in a way that WinCompose can parse?

samhocevar commented 3 years ago

Sorry for the late answer. The upcoming version 0.9.5 will allow you to use \" for this.

samhocevar commented 3 years ago

Hi! You’ll be happy to know the issue is fixed in WinCompose 0.9.5!

Krymancer commented 2 years ago

Hi! You’ll be happy to know the issue is fixed in WinCompose 0.9.5!

So i just download (version 0.9.10 as i write this) and i cant escape double quotes with \, im really liking the programing, if i can make the doublle quote work is gonna be perfect]

So i escaped with \042, i was trying to escape with "\" (backslash)