Open TimidRobot opened 4 weeks ago
HTML formatting tools are surprisingly evasive. The best one I've encountered so far is Prettier · Opinionated Code Formatter, but I haven't found or developed a good way to integrate it into a Python project.
Hi @TimidRobot! I’d be interested in working on this issue. I’ll start by exploring options to clean up the extra spaces without disrupting the translation structure. Will keep you posted on progress and any solutions I find. Thanks for outlining the context so clearly!
HI @TimidRobot! I can resolve this issue, please assign this issue to me :)
Hello, @maintainers
please can i raise a PR for this
Description
Due to a combination of string separation to aid translation and HTML formatting via BeautifulSoup4, the published HTML output includes extraneous spaces.
Example:
docs/licenses/by/4.0/legalcode.en.html
lines 559-562:Results in:
Expectation
Extraneous whitespace should not be included in rendered / user-facing text.
Additional context
Requirements
Documentation
Resolution