diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-12-13 12:55:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 17:55:07 +0000 |
commit | eb39da6782b57c939450839097f32a14cba3ebfc (patch) | |
tree | 8dbd3921d86cb87b7d97ebe7f0b61e374b5868ca /synapse/rest/media/v1/oembed.py | |
parent | Type hint the constructors of the data store classes (#11555) (diff) | |
download | synapse-eb39da6782b57c939450839097f32a14cba3ebfc.tar.xz |
Move HTML parsing to a separate file for URL previews. (#11566)
* 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.
Diffstat (limited to 'synapse/rest/media/v1/oembed.py')
-rw-r--r-- | synapse/rest/media/v1/oembed.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/synapse/rest/media/v1/oembed.py b/synapse/rest/media/v1/oembed.py |