html2pango

Crates.iohtml2pango
lib.rshtml2pango
version0.6.0
sourcesrc
created_at2018-06-01 05:53:03.579426
updated_at2023-10-02 19:23:31.966832
descriptionLibrary to convert html to pango.
homepage
repositoryhttps://gitlab.gnome.org/World/html2pango
max_upload_size
id68026
size101,158
Julian Sparber (jsparber)

documentation

https://world.pages.gitlab.gnome.org/html2pango/html2pango/

README

HTML2Pango

Small rust lib to parse simple html tags and convert to pango. This lib also converts raw links to http links and sanitizes the message to avoid not wanted tags.

The current state of the library is Alpha as it's a proof of concept for mapping a subset of html to pango markup.

This code was inside Fractal project to parse matrix.org messages that contains links and make that drawable in a GtkLabel. We decided to move to this repo to be able to extend and use in other projects like Hammond.

Commit count: 0

cargo fmt