Render IRC colors and formatting, closes #46
This commit is contained in:
parent
ed432881ef
commit
0c902f8ac8
3 changed files with 411 additions and 53 deletions
|
@ -8,6 +8,7 @@ import {
|
|||
isChannel,
|
||||
formatDate
|
||||
} from 'utils';
|
||||
import colorify from 'utils/colorify';
|
||||
import createReducer from 'utils/createReducer';
|
||||
import { getApp } from './app';
|
||||
import { getSelectedTab } from './tab';
|
||||
|
@ -224,7 +225,8 @@ function initMessage(message, tab, state) {
|
|||
6 * charWidth,
|
||||
windowWidth
|
||||
);
|
||||
message.content = linkify(message.content);
|
||||
|
||||
message.content = colorify(linkify(message.content));
|
||||
|
||||
return message;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue