Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Colours appearing incorrectly inside angle brackets #674

Open
Alligator opened this issue Jun 14, 2016 · 3 comments
Open

Colours appearing incorrectly inside angle brackets #674

Alligator opened this issue Jun 14, 2016 · 3 comments

Comments

@Alligator
Copy link

Alligator commented Jun 14, 2016

We are using discord-irc to bridge our discord and IRC channels. discord-irc automatically colours nicknames in the IRC messages it sends to match their discord colour, but in shout these appear incorrectly, for example:

image

However, if I refresh the colours appear correctly:

image

Here is the raw IRC message, as captured from weechat (host/channel removed):

:db!~db@host PRIVMSG #channel :<\x0310alligator\x0F> test

I am assuming this is something to do with detecting nicks enclosed in <>, as the span ends up with a data-chan attribute, but as you can see the markup is pretty wild:

<span class="inline-channel" role="button" tabindex="0" data-chan="<<span">&lt;<span< span=""> class="irc-fg10"&gt;alligator</span<></span>

@dgw
Copy link

dgw commented Jun 14, 2016

Would you be open to testing The Lounge with this setup? If it's an issue there, it would be good to know before 2.0.0 releases.

@Alligator
Copy link
Author

@dgw I don't see this issue in the lounge on version 1.5.0 or 2.0.0-pre.2

@dgw
Copy link

dgw commented Jun 14, 2016

@Alligator That's good news! Shout isn't maintained very much these days, which is why its readme points to The Lounge.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants