Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
New line fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeStaines authored and asl97 committed Jun 17, 2016
1 parent 115e377 commit b6acba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ def message(self, msg, html=False, channel="0"):
if self._currentname is not None and not self._currentname.startswith("!anon"):
font_properties = "<f x%0.2i%s=\"%s\">" % (self.user.fontSize, self.user.fontColor, self.user.fontFace)
if "\n" in msg:
msg.replace("\n", "</f></p><p>%s" % font_properties)
msg = msg.replace("\n", "</f></p><p>%s" % font_properties)
msg = font_properties + msg
msg.replace("~", "&#126;")
self.rawMessage(msg, channel)
Expand Down

0 comments on commit b6acba1

Please sign in to comment.