Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/set expand_escapes ON doesn't handle double-escaping ("\\n") #520

Closed
tjt263 opened this Issue Aug 4, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@tjt263
Copy link

commented Aug 4, 2016

/set expand_escapes = ON is great.
It allows things like line-breaks to be embedded in regular messages (with \n) for instance.

The issue is that it currently cannot be double-escaped (\\n) to prevent expansion, as is the common convention. (i.e. \\n should render as simply \n and so on).

That is all.
Cheers.

@ailin-nemui ailin-nemui changed the title /set expand_escapes = ON /set expand_escapes ON Aug 4, 2016

@ailin-nemui

This comment has been minimized.

Copy link
Contributor

commented Aug 4, 2016

developer info: handling of expand_escapes in src/core/misc.c is intermingled with parse_special_string (which does the \\ replacement), need to be careful when untangling that

@ailin-nemui ailin-nemui added the bug label Aug 12, 2016

@dequis dequis changed the title /set expand_escapes ON /set expand_escapes ON doesn't handle double-escaping ("\\n") Sep 11, 2016

LemonBoy added a commit to LemonBoy/irssi that referenced this issue Feb 18, 2017

LemonBoy added a commit to LemonBoy/irssi that referenced this issue Mar 3, 2017

@ailin-nemui ailin-nemui added the WIP label Mar 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.