Commit Graph

19 Commits

Author SHA1 Message Date
Tulir Asokan
18aeb8ba9d Improve removing unnecessary whitespace in HTML 2022-04-15 12:58:27 +03:00
Tulir Asokan
899bdbc705 Update tcell 2022-04-15 12:53:09 +03:00
Tulir Asokan
f6326f69df Don't show links with data-mautrix-exclude-plaintext attribute 2021-08-02 21:46:21 +03:00
Tulir Asokan
1437a799e5 Don't panic on empty code block. Fixes #237 2020-10-20 13:29:54 +03:00
Kasper Seweryn
56256b8937
Fix mangled comment newlines in code blocks (#214)
Fixes #120
2020-09-04 18:09:41 +03:00
Tulir Asokan
15ed2a75b5
Fix minor code style details 2020-08-18 18:01:19 +03:00
ReK2
3439b94e0e fix changes requested 2020-08-17 21:03:28 +02:00
ReK2
0f77c17e9c enable to show html as plain text if enabled and the url and text is not the same or nor contains data-mautrix-no-link 2020-08-17 20:51:20 +02:00
ReK2
2a1329d981 first changes to show urls 2020-08-15 06:59:02 +02:00
Tulir Asokan
0943374892 Update copyright year 2020-04-19 18:10:14 +03:00
Tulir Asokan
5ee6aa72db Update mautrix-go content stuff 2020-04-19 15:01:16 +03:00
Tulir Asokan
815190be14 Update stuff and move pushrules to mautrix-go 2020-04-19 15:01:16 +03:00
Tulir Asokan
fe439f076a Wrap events in custom struct to add gomuks-specific fields 2019-06-17 12:27:31 +03:00
Tulir Asokan
4bcdcd1ccd Fix go 1.11 and go get compatibility 2019-05-12 17:34:47 +03:00
Tulir Asokan
60e3fe3927 Stop replacing text of event links 2019-04-15 00:34:48 +03:00
Tulir Asokan
a9199dd9f2 Split container/text HTML entities and add support for <hr> 2019-04-10 22:49:33 +03:00
Tulir Asokan
db0e24ccc2 Use already parsed events for replies if possible 2019-04-10 21:06:19 +03:00
Tulir Asokan
7e0278c571 Fix m.emote rendering 2019-04-10 17:08:39 +03:00
Tulir Asokan
2b6c435e50 Refactor message parsing things 2019-04-09 18:42:49 +03:00