Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

excape HTML entities (<>&") in HTML and Markdown output #377

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Sep 24, 2024

Otherwise params that use those (esp <>) break the rendering of the HTML
output. And because Markdown can contain raw HTML at any place, we
escape it there too.

Otherwise params that use those (esp <>) break the rendering of the HTML
output. And because Markdown can contain raw HTML at any place, we
escape it there too.
Comment on lines +14 to +18
# $complex_variant:: A Variant type that can be:
# String with:
# '' or 'unmanaged' - Host auth control done elsewhere
# 'ip <List of IPs>' - Allowed IPs/ranges
# Array of strings with ip or host as above
Copy link
Member Author

Choose a reason for hiding this comment

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

We probably can cut this down to a more artificial doc string.
Currently it very much mimics what's in https://github.com/puppetlabs/puppetlabs-apache/blob/main/manifests/mod/status.pp (and breaking our doc builds)

@ekohl ekohl merged commit 05ecf82 into master Oct 7, 2024
6 checks passed
@ekohl ekohl deleted the html branch October 7, 2024 10:15
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