Jan Tojnar

Results 824 comments of Jan Tojnar

One issue is that this preserves the `noscript` tag. Ideally we would remove it: ```html ButtonsA user made the mistake of posting their private information publicly. They had accidentally set...

I think it should be removed since otherwise the image might be duplicated (think webview in an app with javascript disabled for security). Could we just add a htmlawed rule...

At this point I see these possible solutions: * Recommend to use `html5lib` instead of `libxml` but not sure how performant it is. * Try to find out if it...

There is also a [separate bug](https://github.com/htacg/tidy-html5/issues/905) in tidy that wraps the `img` in the `noscript` in a `p`, resulting in invalid `p > noscript > p` nesting but that does...

Apparently, html5lib suffers from this even worse, even with https://github.com/j0k3r/php-readability/pull/60. I thought it might use libxml2 internally but it happens on libxml2 2.9.10 as well: ```php $graby = new Graby([...

I think this sort of clean-up has some merit. Maybe we could only decide to clean out the `h1` if there is only a single one, like we do with...

Another option is adding the entry to https://gitlab.freedesktop.org/xdg/shared-mime-info. That way, distros will know about the MIME type even without TreeSheets installed, and be able to suggest a package to install...

It might also be nice to officially register a MIME type (likely `application/vnd.treesheets`) with IANA: - [list](https://www.iana.org/assignments/media-types/media-types.xhtml) - [registration form](https://www.iana.org/form/media-types)

@jgm I can open a pull request if you think this is reasonable.

I imagine a set of heuristics. For GitHub, GitLab, [GNOME](https://github.com/jtojnar/what-changed).