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

Incorrect Display of HTML Code Tags in Declarative Config Task #48323

Open
r21gh opened this issue Oct 13, 2024 · 3 comments · May be fixed by #48331
Open

Incorrect Display of HTML Code Tags in Declarative Config Task #48323

r21gh opened this issue Oct 13, 2024 · 3 comments · May be fixed by #48331
Assignees
Labels
area/web-development Issues or PRs related to the kubernetes.io's infrastructure, design, or build processes kind/bug Categorizes issue or PR as related to a bug. language/en Issues or PRs related to English language priority/backlog Higher priority than priority/awaiting-more-evidence. sig/docs Categorizes an issue or PR as relevant to SIG Docs. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@r21gh
Copy link
Contributor

r21gh commented Oct 13, 2024

This is a Bug Report

Problem:
In the section for deleting objects managed by kubectl apply, HTML tags are displayed incorrectly for the alternative approach. This results in the raw HTML code being visible instead of the intended formatted content.

Proposed Solution:
Using Go comment tags {{- /* Comment Text here */ -}} along with the - character to control whitespace in the layouts/shortcodes/features-state.html file, ensuring proper indentation while preventing unwanted line breaks or spaces in the rendered HTML output.

Page to Update:
https://kubernetes.io/docs/tasks/manage-kubernetes-objects/declarative-config/#alternative-kubectl-apply-f-directory-prune

/sig docs
/assign
/language en

@r21gh r21gh added the kind/bug Categorizes issue or PR as related to a bug. label Oct 13, 2024
@k8s-ci-robot k8s-ci-robot added sig/docs Categorizes an issue or PR as relevant to SIG Docs. language/en Issues or PRs related to English language needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Oct 13, 2024
@dipesh-rawat
Copy link
Member

/area web-development
/priority backlog

@k8s-ci-robot k8s-ci-robot added area/web-development Issues or PRs related to the kubernetes.io's infrastructure, design, or build processes priority/backlog Higher priority than priority/awaiting-more-evidence. labels Oct 13, 2024
@dipesh-rawat
Copy link
Member

Would be nice to fix this.

/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Oct 13, 2024
@AmarNathChary
Copy link
Contributor

I will fix this
/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/web-development Issues or PRs related to the kubernetes.io's infrastructure, design, or build processes kind/bug Categorizes issue or PR as related to a bug. language/en Issues or PRs related to English language priority/backlog Higher priority than priority/awaiting-more-evidence. sig/docs Categorizes an issue or PR as relevant to SIG Docs. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants