Unescape html before urlencode in mailto link for RFS template

The mailto link for the RFS templates is urlencoded and html escaped. The html escaping is unnecessary and creates literals character (for instance: >) in mail clients.

This MR unescape the html produced by the Make templating system.

Changes are covered in debexpo/tests/importer/plugins/test_rfstemplate.py. Tested locally as well with UTF-8 characters in RFS template.

Note: HTMLParser is part of the standard python lib.

Closes: #90 (closed)

Merge request reports

Loading