fix flashy

This commit is contained in:
reality 2016-03-04 17:18:35 +00:00
parent b9064302ba
commit aed72f52dc
2 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@ var pages = function(dbot) {
res.render('flashy', {
'name': dbot.config.name,
'colour': colour,
'text': req.params.text
'text': decodeURIComponent(req.params.text)
});
}
};

View File

@ -1,4 +1,3 @@
doctype html
html(lang='en')
head
meta(charset='utf-8')
@ -6,4 +5,6 @@ html(lang='en')
title #{name} web interface
body
div.container
blink [ span.flash(style='color: #'+colour+';') #{text} span ]
blink [
span.flash(style='color: #'+colour+';') #{text}
span ]