summary refs log tree commit diff
path: root/synapse/rest/media/v1/preview_html.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve URL previews by not including the content of media tags in the ↵reivilibre2022-05-261-1/+9
| | | | generated description. (#12887)
* Bump `black` and `click` versions (#12320)David Robertson2022-03-291-2/+2
|
* Clean-up logic for rebasing URLs during URL preview. (#12219)Patrick Cloke2022-03-161-37/+2
| | | | By using urljoin from the standard library and reducing the number of places URLs are rebased.
* Support rendering previews with data: URLs in them (#11767)Patrick Cloke2022-01-241-6/+25
| | | | | Images which are data URLs will no longer break URL previews and will properly be "downloaded" and thumbnailed.
* Move HTML parsing to a separate file for URL previews. (#11566)Patrick Cloke2021-12-131-0/+397
* Splits the logic for parsing HTML from the resource handling code. * Fix a circular import in the oEmbed code (which uses the HTML parsing code). * Renames some of the HTML parsing methods to: * Make it clear which methods are "internal" to the module. * Clarify what the methods do.