Tulir Asokan
|
d98d1a815d
|
Remove extra newline after paragraphs
Hopefully it's not needed
|
2021-08-17 01:28:14 +03:00 |
|
Tulir Asokan
|
75a369f590
|
Add default PillConverter in HTMLParser
|
2021-06-16 11:31:49 +03:00 |
|
Tulir Asokan
|
2d9dd44b06
|
Add generic matrix: URI and matrix.to URL parsing
Closes #34
|
2021-06-08 16:23:46 +03:00 |
|
Tulir Asokan
|
eef0e65458
|
Fix HTML tags being allowed in RenderMarkdown even when allowHTML is false
|
2021-04-29 23:48:43 +03:00 |
|
Tulir Asokan
|
1d493502a1
|
Fix HTML parser adding extra newline at the end of code blocks
|
2020-09-04 18:18:29 +03:00 |
|
Tulir Asokan
|
dabb8c5f65
|
Fix newlines in html-only mode of RenderMarkdown
|
2020-08-21 20:41:10 +03:00 |
|
Tulir Asokan
|
2c882a33ba
|
Allow storing additional context in HTMLParser result
|
2020-07-31 14:28:26 +03:00 |
|
Tulir Asokan
|
e8300832e9
|
Add more tests and comments
|
2020-04-19 14:54:49 +03:00 |
|
Tulir Asokan
|
f4fc99cddb
|
Overhaul event content representation
|
2020-04-19 03:23:27 +03:00 |
|
Tulir Asokan
|
941515e73d
|
Rename events to event
|
2020-04-16 17:29:47 +03:00 |
|
Tulir Asokan
|
8adcd0da97
|
Reorganize and break everything
|
2020-04-16 16:51:32 +03:00 |
|
Tulir Asokan
|
c81fdd9fe6
|
Add options to RenderMarkdown for disabling markdown and html
|
2020-04-04 01:02:06 +03:00 |
|
Tulir Asokan
|
8ba1d97ed8
|
Export stuff used in markdown rendering
|
2020-03-20 14:31:39 +02:00 |
|
Tulir Asokan
|
8101f052c7
|
Add default code block converter for html parser
|
2020-03-20 13:34:20 +02:00 |
|
Tulir Asokan
|
97524879c6
|
Add default monospace converter for html parser
|
2020-03-20 13:26:46 +02:00 |
|
Tulir Asokan
|
dfc638ec80
|
Only send HTML if necessary
|
2020-03-01 01:23:21 +02:00 |
|
Tulir Asokan
|
be576ef8fc
|
Remove paragraph tags in RenderMarkdown if message only has one paragraph tag
|
2020-03-01 01:03:54 +02:00 |
|
Tulir Asokan
|
e39c1b9fba
|
Use blackfriday directly from github
|
2020-02-18 20:26:46 +02:00 |
|
Tulir Asokan
|
3e27638f3f
|
Don't duplicate link when a href is same as text. Fixes tulir/mautrix-whatsapp#62
|
2019-05-16 00:51:09 +03:00 |
|
Tulir Asokan
|
c0bec97a8a
|
Change blackfriday import path back to gopkg.in to fix go get
|
2019-05-12 17:28:33 +03:00 |
|
Tulir Asokan
|
53c7c9d954
|
Add support for horizontal lines in HTML parser
|
2019-04-10 22:47:50 +03:00 |
|
Tulir Asokan
|
dd6ea25c39
|
Trim trailing newlines in markdown output
|
2019-04-10 17:17:55 +03:00 |
|
Tulir Asokan
|
0ad616f68d
|
Do some changes
|
2019-04-10 02:29:06 +03:00 |
|
Tulir Asokan
|
5794ed3674
|
Improve markdown parser and other things
|
2019-03-28 23:27:57 +02:00 |
|
Tulir Asokan
|
7e32bf681c
|
Fix blackfriday dep
|
2018-12-22 21:36:49 +02:00 |
|
Tulir Asokan
|
8154c462e1
|
Rename package
|
2018-10-08 01:22:27 +03:00 |
|
Tulir Asokan
|
920b154a41
|
Format
|
2018-09-20 01:23:41 +03:00 |
|
Tulir Asokan
|
a6fa3ede98
|
Add HTML -> text/markdown and Markdown -> HTML converters
|
2018-08-24 00:53:13 +03:00 |
|