Debian Codegraph @

/

debian rust-html2pango 0.6.0-4debian librust-html2pango-dev debian librust-html2pango+default-dev debian librust-html2pango-0-dev debian librust-html2pango-0+default-dev debian librust-html2pango-0.6-dev debian librust-html2pango-0.6+default-dev debian librust-html2pango-0.6.0-dev debian librust-html2pango-0.6.0+default-dev cargo html2pango 0.6.0 debianjsonmakefilemarkdownrustrust-c-abishelltomlyaml 17 files · 333 symbols
View dependency graph

Depends on

  • dh-cargo (dh-sequence-cargo)
  • rust-anyhow (librust-anyhow-1+default-dev)
  • rust-html5ever (librust-html5ever-0.35+default-dev)
  • rust-maplit (librust-maplit-1+default-dev)
  • rust-once-cell (librust-once-cell-1+default-dev)
  • cargo, debhelper-compat, librust-ammonia-4+default-dev, librust-linkify-0.10+default-dev, librust-markup5ever-rcdom-0.35+default-dev, librust-regex-1+default-dev, libstd-rust-dev, rustc
README (full)

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.

dir debian/
dir src/
file .cargo_vcs_info.json
file .gitignore
file .gitlab-ci.yml
file Cargo.toml
file Cargo.toml.orig
file LICENSE
file README.md