8 Commits

Author SHA1 Message Date
Kévin Commaille
9e9b59819c chore: Fix links to rich reply fallback section
Since they were remove in Matrix 1.13, the section was removed and the information is now in an info box.
2025-01-02 18:42:32 -05:00
Kévin Commaille
13a546056e chore: Remove unnecessary lifetimes 2024-11-29 17:45:04 -05:00
Kévin Commaille
bd56071587 html: Add more settings to SanitizerConfig
Allows to use it with a whitelist or a blacklist,
and extend or reduce the lists from the Matrix spec.
2024-05-06 14:56:53 +02:00
Kévin Commaille
e161a57eda html: Add HTML data types for elements and attributes suggested by Matrix Spec 2024-05-06 14:56:53 +02:00
Kévin Commaille
18244143ca html: Take a reference to SanitizerConfig for Html::sanitize_with
Allows to reuse the configuration without cloning it.
2024-05-06 14:56:53 +02:00
Kévin Commaille
221e9c055c html: Add method to get root node of Html 2024-04-24 13:15:12 +02:00
Kévin Commaille
da1df75619 html: Add support for deprecated HTML tags
According to Matrix 1.10
2024-04-07 15:45:26 +02:00
Kévin Commaille
ba973c98f1 html: Expose sanitize API on Html 2023-08-29 11:19:48 +02:00