Merge pull request #1242 from starquake/newlines-fix
Correctly show whitespace and newlines in messages
This commit is contained in:
commit
f88d1e3bef
@ -2085,3 +2085,19 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
|
|||||||
#image-viewer .open-btn {
|
#image-viewer .open-btn {
|
||||||
margin: 0 auto 10px;
|
margin: 0 auto 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Correctly handle multiple successive whitespace characters.
|
||||||
|
For example: user has quit ( ===> L O L <=== ) */
|
||||||
|
|
||||||
|
#windows .header .topic,
|
||||||
|
#chat .message .text,
|
||||||
|
#chat .motd .text,
|
||||||
|
#chat .notice .text,
|
||||||
|
#chat .ctcp-message,
|
||||||
|
#chat .part-reason,
|
||||||
|
#chat .quit-reason,
|
||||||
|
#chat .new-topic,
|
||||||
|
#chat .action-text,
|
||||||
|
#chat table.channel-list .topic {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
{{> ../user_name nick=from}}
|
{{> ../user_name nick=from}}
|
||||||
<b>{{ctcpType}}</b> {{{parse ctcpMessage}}}
|
<b>{{ctcpType}}</b> <span class="ctcp-message">{{{parse ctcpMessage}}}</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user