wincompose icon indicating copy to clipboard operation
wincompose copied to clipboard

Escaping double quotes in .Xcompose

Open tylerdq opened this issue 4 years ago • 3 comments

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?

tylerdq avatar Jul 07 '20 19:07 tylerdq

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

samhocevar avatar Nov 27 '20 10:11 samhocevar

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

samhocevar avatar Nov 27 '20 17:11 samhocevar

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)

Krymancer avatar Aug 04 '22 00:08 Krymancer