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

Leading spaces are removed #420

Closed
hloeung opened this issue Mar 25, 2021 · 2 comments · Fixed by #432
Closed

Leading spaces are removed #420

hloeung opened this issue Mar 25, 2021 · 2 comments · Fixed by #432

Comments

@hloeung
Copy link
Collaborator

hloeung commented Mar 25, 2021

Hi,

It looks like leading spaces are removed from messages received. This is quite annoying, especially for code blocks. e.g.

```
if [ "$IFACE" = "eth0.1" ]; then
    /bin/sh myscript
fi
```

Ends up:

if [ "$IFACE" = "eth0.1" ]; then
/bin/sh myscript
fi

It's fine for messages sent though.

@hloeung
Copy link
Collaborator Author

hloeung commented Apr 2, 2021

Seems likely my irssi set up. Closing for now.

@hloeung hloeung closed this as completed Apr 2, 2021
hloeung added a commit to hloeung/matterircd that referenced this issue May 5, 2021
@hloeung hloeung reopened this May 5, 2021
@hloeung
Copy link
Collaborator Author

hloeung commented May 5, 2021

#432 fixes this.

hloeung added a commit to hloeung/matterircd that referenced this issue May 13, 2021
42wim pushed a commit that referenced this issue May 17, 2021
#420 (#432)

* Preserve leading whitespace and new lines. Fixes #420

* Only allow empty lines for multi-line blocks of code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant