Stop commonmark from escaping $ and ! in event links
This commit is contained in:
parent
307d2271ee
commit
c74257008e
1 changed files with 4 additions and 4 deletions
|
@ -208,8 +208,8 @@ class KarmaBot(Plugin):
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
message += "\n".join(
|
message += "\n".join(
|
||||||
f"{index + 1}. [Event](https://matrix.to/#/{event.room_id}/{event.event_id}) by "
|
f"{index + 1}. <a href='https://matrix.to/#/{event.room_id}/{event.event_id}'>Event</a>"
|
||||||
f"[{self.denotify(event.sender)}](https://matrix.to/#/{event.sender}) with "
|
f" by [{self.denotify(event.sender)}](https://matrix.to/#/{event.sender}) with"
|
||||||
f" {self.sign(event.total)} karma (+{event.positive}/-{event.negative})\n"
|
f" {self.sign(event.total)} karma (+{event.positive}/-{event.negative})\n"
|
||||||
f" > {event.content}"
|
f" > {event.content}"
|
||||||
for index, event in enumerate(karma_list))
|
for index, event in enumerate(karma_list))
|
||||||
|
|
Loading…
Reference in a new issue