Bug fix: Close c tags on system messages! D:
This commit is contained in:
parent
4a24f8fe27
commit
820d4f846d
1 changed files with 2 additions and 2 deletions
|
@ -230,7 +230,7 @@ class PesterProfile(object):
|
||||||
def moodmsg(self, mood, syscolor, theme):
|
def moodmsg(self, mood, syscolor, theme):
|
||||||
return "<c=%s>-- %s <c=%s>[%s]</c> changed their mood to %s <img src='%s' /> --</c>" % (syscolor.name(), self.handle, self.colorhtml(), self.initials(), mood.name().upper(), theme["main/chums/moods"][mood.name()]["icon"])
|
return "<c=%s>-- %s <c=%s>[%s]</c> changed their mood to %s <img src='%s' /> --</c>" % (syscolor.name(), self.handle, self.colorhtml(), self.initials(), mood.name().upper(), theme["main/chums/moods"][mood.name()]["icon"])
|
||||||
def idlemsg(self, syscolor, verb):
|
def idlemsg(self, syscolor, verb):
|
||||||
return "<c=%s>-- %s <c=%s>[%s]</c> %s --" % (syscolor.name(), self.handle, self.colorhtml(), self.initials(), verb)
|
return "<c=%s>-- %s <c=%s>[%s]</c> %s --</c>" % (syscolor.name(), self.handle, self.colorhtml(), self.initials(), verb)
|
||||||
def memoclosemsg(self, syscolor, timeGrammar, verb):
|
def memoclosemsg(self, syscolor, timeGrammar, verb):
|
||||||
return "<c=%s><c=%s>%s%s%s</c> %s.</c>" % (syscolor.name(), self.colorhtml(), timeGrammar.pcf, self.initials(), timeGrammar.number, verb)
|
return "<c=%s><c=%s>%s%s%s</c> %s.</c>" % (syscolor.name(), self.colorhtml(), timeGrammar.pcf, self.initials(), timeGrammar.number, verb)
|
||||||
def memoopenmsg(self, syscolor, td, timeGrammar, verb, channel):
|
def memoopenmsg(self, syscolor, td, timeGrammar, verb, channel):
|
||||||
|
@ -252,7 +252,7 @@ class PesterProfile(object):
|
||||||
(temporal, pcf, when) = (timeGrammar.temporal, timeGrammar.pcf, timeGrammar.when)
|
(temporal, pcf, when) = (timeGrammar.temporal, timeGrammar.pcf, timeGrammar.when)
|
||||||
timetext = timeDifference(td)
|
timetext = timeDifference(td)
|
||||||
initials = pcf+self.initials()+timeGrammar.number
|
initials = pcf+self.initials()+timeGrammar.number
|
||||||
return "<c=%s><c=%s>%s %s [%s]</c> %s %s." % \
|
return "<c=%s><c=%s>%s %s [%s]</c> %s %s.</c>" % \
|
||||||
(syscolor.name(), self.colorhtml(), temporal, self.handle,
|
(syscolor.name(), self.colorhtml(), temporal, self.handle,
|
||||||
initials, timetext, verb)
|
initials, timetext, verb)
|
||||||
def memoopmsg(self, opchum, opgrammar, syscolor):
|
def memoopmsg(self, opchum, opgrammar, syscolor):
|
||||||
|
|
Loading…
Reference in a new issue