diff --git a/scripts/docs-collator/component/renderer/templates/components/md/terraform-docs.yml b/scripts/docs-collator/component/renderer/templates/components/md/terraform-docs.yml index ba3c4ae0c..e3072a131 100644 --- a/scripts/docs-collator/component/renderer/templates/components/md/terraform-docs.yml +++ b/scripts/docs-collator/component/renderer/templates/components/md/terraform-docs.yml @@ -15,7 +15,7 @@ content: |-
{{- $lines := regexSplit "\n" (tostring .Description | replace "OBSOLETE: " "") -1 -}} {{- range $lines }} - {{ . }}
+ {{ . | html }}
{{- end }} {{ if gt (len (split "\n" (tostring .Type))) 2 }} @@ -45,7 +45,7 @@ content: |-
{{- $lines := regexSplit "\n" (tostring .Description | replace "OBSOLETE: " "") -1 -}} {{- range $lines }} - {{ . }}
+ {{ . | html }}
{{- end }}
{{ if gt (len (split "\n" (tostring .Type))) 2 }} @@ -83,7 +83,7 @@ content: |-
{{- $lines := regexSplit "\n" (tostring .Description | replace "OBSOLETE: " "") -1 -}} {{- range $lines }} - {{ . }}
+ {{ . | html }}
{{- end }} **Required:** {{ ternary .Required "Yes" "No" }}
{{ if gt (len (split "\n" (tostring .Type))) 2 }} @@ -116,7 +116,7 @@ content: |-
{{- $lines := regexSplit "\n" (tostring .Description | replace "OBSOLETE: " "" | default "n/a" ) -1 -}} {{- range $lines }} - {{ . }}
+ {{ . | html }}
{{- end }}
{{- end }} diff --git a/scripts/docs-collator/component/renderer/templates/components/yml/terraform-docs.yml b/scripts/docs-collator/component/renderer/templates/components/yml/terraform-docs.yml index 8a6ef6658..c37f9e901 100644 --- a/scripts/docs-collator/component/renderer/templates/components/yml/terraform-docs.yml +++ b/scripts/docs-collator/component/renderer/templates/components/yml/terraform-docs.yml @@ -15,7 +15,7 @@ content: |-
{{- $lines := regexSplit "\n" (tostring .Description | replace "OBSOLETE: " "") -1 -}} {{- range $lines }} - {{ . }}
+ {{ . | html }}
{{- end }} {{ if gt (len (split "\n" (tostring .Type))) 2 }} @@ -45,7 +45,7 @@ content: |-
{{- $lines := regexSplit "\n" (tostring .Description | replace "OBSOLETE: " "") -1 -}} {{- range $lines }} - {{ . }}
+ {{ . | html }}
{{- end }}
{{ if gt (len (split "\n" (tostring .Type))) 2 }} @@ -83,7 +83,7 @@ content: |-
{{- $lines := regexSplit "\n" (tostring .Description | replace "OBSOLETE: " "") -1 -}} {{- range $lines }} - {{ . }}
+ {{ . | html }}
{{- end }} **Required:** {{ ternary .Required "Yes" "No" }}
{{ if gt (len (split "\n" (tostring .Type))) 2 }} @@ -116,7 +116,7 @@ content: |-
{{- $lines := regexSplit "\n" (tostring .Description | replace "OBSOLETE: " "" | default "n/a" ) -1 -}} {{- range $lines }} - {{ . }}
+ {{ . | html }}
{{- end }}
{{- end }} diff --git a/scripts/docs-collator/templates/modules/terraform-docs.yml b/scripts/docs-collator/templates/modules/terraform-docs.yml index 008e1c3b5..5e2dc5133 100644 --- a/scripts/docs-collator/templates/modules/terraform-docs.yml +++ b/scripts/docs-collator/templates/modules/terraform-docs.yml @@ -15,7 +15,7 @@ content: |-
{{- $lines := regexSplit "\n" (tostring .Description | replace "OBSOLETE: " "") -1 -}} {{- range $lines }} - {{ . }}
+ {{ . | html }}
{{- end }} {{ if gt (len (split "\n" (tostring .Type))) 2 }} @@ -45,7 +45,7 @@ content: |-
{{- $lines := regexSplit "\n" (tostring .Description | replace "OBSOLETE: " "") -1 -}} {{- range $lines }} - {{ . }}
+ {{ . | html }}
{{- end }}
{{ if gt (len (split "\n" (tostring .Type))) 2 }} @@ -83,7 +83,7 @@ content: |-
{{- $lines := regexSplit "\n" (tostring .Description | replace "OBSOLETE: " "") -1 -}} {{- range $lines }} - {{ . }}
+ {{ . | html }}
{{- end }} **Required:** {{ ternary .Required "Yes" "No" }}
{{ if gt (len (split "\n" (tostring .Type))) 2 }} @@ -116,7 +116,7 @@ content: |-
{{- $lines := regexSplit "\n" (tostring .Description | replace "OBSOLETE: " "" | default "n/a" ) -1 -}} {{- range $lines }} - {{ . }}
+ {{ . | html }}
{{- end }}
{{- end }}