Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove HTML tags in generated module docs#3509

Merged
ewels merged 1 commit into
MultiQC:mainfrom
christopher-hakkaart:fix-html-tags
Mar 28, 2026
Merged

Remove HTML tags in generated module docs#3509
ewels merged 1 commit into
MultiQC:mainfrom
christopher-hakkaart:fix-html-tags

Conversation

@christopher-hakkaart

@christopher-hakkaart christopher-hakkaart commented Mar 18, 2026

Copy link
Copy Markdown
Contributor
  • module.info is converted to HTML by BaseMultiqcModule, causing <p> tags and HTML entities (e.g., &amp;) to appear in the generated markdown.
  • <p> tags cause warnings when generating a llms.txt file.
  • Use markdownify() to convert back to plain text before writing, and switch the YAML description to a quoted string to prevent prettier from re-introducing <p> tags.

@ewels ewels left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ewels ewels merged commit b762196 into MultiQC:main Mar 28, 2026
9 checks passed
@ewels ewels added this to the v1.34 milestone Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants