summaryrefslogtreecommitdiffstats
path: root/assets/js/videojs-youtube-annotations.min.js
diff options
context:
space:
mode:
authorSamantaz Fox <coding@samantaz.fr>2023-05-08 00:53:08 +0200
committerSamantaz Fox <coding@samantaz.fr>2023-05-08 01:05:48 +0200
commitce1fb8d08c86f747ee638289c8bcfeb208702445 (patch)
tree40cb684011e415f0a978d405222fe7026e7bce7f /assets/js/videojs-youtube-annotations.min.js
parent1eb1bae3706204908fa57b6c91fe00041d4346c5 (diff)
downloadinvidious-ce1fb8d08c86f747ee638289c8bcfeb208702445.tar.gz
invidious-ce1fb8d08c86f747ee638289c8bcfeb208702445.tar.bz2
invidious-ce1fb8d08c86f747ee638289c8bcfeb208702445.zip
Use XML.parse instead of XML.parse_html
Due to recent changes to libxml2 (between 2.9.14 and 2.10.4, See https://gitlab.gnome.org/GNOME/libxml2/-/issues/508), the HTML parser doesn't take into account the namespaces (xmlns). Because HTML shouldn't contain namespaces anyway, there is no reason for use to keep using it. But switching to the XML parser means that we have to pass the namespaces to every single 'xpath_node(s)' method for it to be able to properly navigate the XML structure.
Diffstat (limited to 'assets/js/videojs-youtube-annotations.min.js')
0 files changed, 0 insertions, 0 deletions