hugo-to-gemini/testdata
mntn ddb3943359
Strip HTML tags but keep content while rendering
This makes the renderer print the content of informational
HTML tags while stripping the tags themselves.

Tags like script, iframe, style, etc, which are unlikely to
ever hold presentable content, are exempt from this, and
their content is skipped from rendering as well as the tags
themselves.

<br>, a hard-break tag, is supported as a Markdown
hard-break replacement (the two spaces before newline).

This also adds tests for this behavior inside general_text.md.

Fixes #6, a longstanding issue with inline HTML in
blockquotes.
2021-10-02 15:07:46 +05:00
..
front_matter_json.gmi Implement renderer test suite 2021-09-30 18:01:46 +05:00
front_matter_json.md Implement renderer test suite 2021-09-30 18:01:46 +05:00
front_matter_org.gmi Implement renderer test suite 2021-09-30 18:01:46 +05:00
front_matter_org.md Implement renderer test suite 2021-09-30 18:01:46 +05:00
front_matter_toml.gmi Implement renderer test suite 2021-09-30 18:01:46 +05:00
front_matter_toml.md Implement renderer test suite 2021-09-30 18:01:46 +05:00
front_matter_yaml.gmi Implement renderer test suite 2021-09-30 18:01:46 +05:00
front_matter_yaml.md Implement renderer test suite 2021-09-30 18:01:46 +05:00
general_text.gmi Strip HTML tags but keep content while rendering 2021-10-02 15:07:46 +05:00
general_text.md Strip HTML tags but keep content while rendering 2021-10-02 15:07:46 +05:00
links.gmi Implement renderer test suite 2021-09-30 18:01:46 +05:00
links.md Implement renderer test suite 2021-09-30 18:01:46 +05:00
lists.gmi Implement renderer test suite 2021-09-30 18:01:46 +05:00
lists.md Implement renderer test suite 2021-09-30 18:01:46 +05:00
tables.gmi Implement renderer test suite 2021-09-30 18:01:46 +05:00
tables.md Implement renderer test suite 2021-09-30 18:01:46 +05:00