summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gorilla
diff options
context:
space:
mode:
authorFredrik de Vibe <fdv@ifi.uio.no>2016-03-18 18:03:15 -0400
committerFredrik de Vibe <fdv@ifi.uio.no>2016-03-18 18:03:15 -0400
commitf29822db029ab5838210e00e8b701525c34e8177 (patch)
tree7dceefa56a70dbb1e3d87afeb0ba57638f64be96 /vendor/github.com/gorilla
parenta63433e41bad06a9ef8132082b8ef40d91d07aec (diff)
downloadmatterbridge-msglm-f29822db029ab5838210e00e8b701525c34e8177.tar.gz
matterbridge-msglm-f29822db029ab5838210e00e8b701525c34e8177.tar.bz2
matterbridge-msglm-f29822db029ab5838210e00e8b701525c34e8177.zip
Add double newline if the message is markup and prefixed.
If the message is prefixed with the sender nick, it will break markup formatting on the same line. This commit introduces a very rudimentary markup checker, and if the message is deemed to be markup in those cases, the space between sender nick and message is replaced by a double newline.
Diffstat (limited to 'vendor/github.com/gorilla')
0 files changed, 0 insertions, 0 deletions