Code change:
{{ $valid_states := "alpha, beta, deprecated, stable" }} {{ $state := .Get "state" }} <del> {{ $for_k8s_version := .Get "for_k8s_version" | default (.Page.Param "version")}} </del> <ins> {{ $for_k8s_version := .Get "for_k8s_version" | default (.Page.Param "version") }} </ins> {{ $is_valid := strings.Contains $valid_states $state }} {{ $feature_gate_name := .Get "feature_gate_name" }} <del> <!-- When 'feature_gate_name' parameter is not specified, continue with the values provided. --> </del> {{ if not $feature_gate_name }} {{ if not $is_valid }} {{ errorf "%q is not a valid feature-state, use one of %q" $state $valid_states }} {{ else }} <del> <div class="feature-state-notice feature-{{ $state }}"> <span class="feature-state-name">{{ T "feature_state" }}</span> <code>{{T "feature_state_kubernetes_label" }} {{ $for_k8s_version }} [{{ $state }}]</code> </div> </del> <ins> <div class="feature-state-notice feature-{{ $state }}"> <span class="feature-state-name">{{ T "feature_state" }}</span> <code>{{ T "feature_state_kubernetes_label" }} {{ $for_k8s_version }} [{{ $state }}]</code> </div> </ins> {{ end }} <del> {{- else -}} <!-- When 'feature_gate_name' is specified, the following code block extracts the status of the feature gate from the description file. --> <!-- Set the path for feature gate description files --> </del> <ins> {{ else }} <!-- When 'feature_gate_name' is specified, extract status of the feature gate --> </ins> {{- $featureGateDescriptionFilesPath := "/docs/reference/command-line-tools-reference/feature-gates" -}} <del> <!-- Access the 'English' site and get the feature gate description pages --> </del> {{- with index (where .Site.Sites "Language.Lang" "eq" "en") 0 -}} {{- with .GetPage $featureGateDescriptionFilesPath -}} <del> <!-- Sort Feature gate pages list --> </del> {{- $sortedFeatureGates := sort (.Resources.ByType "page") -}} {{- $featureGateFound := false -}} <del> <!-- Iterate through feature gate files --> </del> {{- range $featureGateFile := $sortedFeatureGates -}} {{- $featureGateNameFromFile := $featureGateFile.Params.Title -}} {{- if eq $featureGateNameFromFile $feature_gate_name -}} <del> <!-- Extract information from the final stage of the feature gate --> </del> {{- $currentStage := index $featureGateFile.Params.stages (sub (len $featureGateFile.Params.stages) 1) -}} {{- with $currentStage -}} <del> <!-- Display feature state information  --> <div class="feature-state-notice feature-{{ .stage }}" title="{{ printf "%s %s" (T "feature_state_feature_gate_tooltip") $feature_gate_name }}"> <span class="feature-state-name">{{ T "feature_state" }}</span> <code>{{T "feature_state_kubernetes_label" }} v{{ .fromVersion }} [{{ .stage }}]</code> </div> </del> <ins> <div class="feature-state-notice feature-{{ .stage }}" title="{{ printf "%s %s" (T "feature_state_feature_gate_tooltip") $feature_gate_name }}"> <span class="feature-state-name">{{ T "feature_state" }}</span> <code>{{ T "feature_state_kubernetes_label" }} v{{ .fromVersion }} [{{ .stage }}]</code> </div> </ins> {{- $featureGateFound = true -}} {{- end -}} {{- end -}} {{- end -}} <del> <!-- Check if specified feature gate is not found --> </del> {{- if not $featureGateFound -}} <del> {{- errorf "Invalid feature gate: '%s' is not recognized or lacks a matching description file in '%s'" $feature_gate_name  (print "en" $featureGateDescriptionFilesPath) -}} </del> <ins> {{- errorf "Invalid feature gate: '%s' is not recognized or lacks a matching description file in '%s'" $feature_gate_name (print "en" $featureGateDescriptionFilesPath) -}} </ins> {{- end -}} {{- end -}}

Related discussion:
text: This is a Bug Report Problem: On the Kubernetes documentation page for Ephemeral Storage Consumption Management (), under the "Filesystem project quota" tab, HTML tags are being displayed incorrectly. This results in the raw HTML code being visible instead of the intended formatted content. Proposed Solution: The HTML tags should be removed from the displayed content, and the text should be properly rendered without the raw HTML markup. The content should be reviewed and corrected to ensure it is presented in a readable and user-friendly format. Page to Update: <!--Optional Information (remove the comment tags around information you would like to include)--<!--Kubernetes Version:--<!--Additional Information:--The issue affects the "Ephemeral Storage Consumption Management" section, specifically under "Filesystem project quota." The incorrect display of HTML tags may impact user understanding and the overall readability of the documentation.
/sig docs /assign I will raise a PR for this issue
/language en
/triage accepted Good to fix /help /priority backlog
This request has been marked as needing help from a contributor. Please ensure that the issue body includes answers to the following questions: Why are we solving this issue? To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points? Does this issue have zero to low barrier of entry? How can the assignee reach out to you for help? For more details on the requirements of such an issue, please see and ensure that they are met. If this request no longer meets these requirements, the label can be removed by commenting with the command. <detailsIn response to : /triage accepted /help /priority backlog Instructions for interacting with me using PR comments are available . If you have questions or suggestions related to my behavior, please file an issue against the repository. </details
Even after removing the tags, the page is still showing raw HTML.
The fix here is either to revise how far things are indented (likely), or perhaps to swap between / and / shortcode markers (less likely).