diff --git a/.github/workflows/secgen.yaml b/.github/workflows/secgen.yaml
index e01d57dcb86..3512d4831a6 100644
--- a/.github/workflows/secgen.yaml
+++ b/.github/workflows/secgen.yaml
@@ -89,7 +89,16 @@ jobs:
trivy image -f template --template "@./templates/trivy-container.tpl" ${ghcrcont} >> website/docs/charts/${train}/${chartname}/container-security.md
echo "" >> website/docs/charts/${train}/${chartname}/container-security.md
done
-
+ }
+ cleanfiles() {
+ local chart="$1"
+ local chartname="$2"
+ local train="$3"
+ echo "sanitising website output..."
+ sed -i 's|
|
|g' website/docs/charts/${train}/${chartname}/helm-security.md
+ sed -i 's|
|
|g' website/docs/charts/${train}/${chartname}/container_sec_scan.md
+ sed -i 's|