fix: add helptext warning about HTML indentation (#6180)

This commit is contained in:
Ian Macabulos 2026-01-16 11:31:54 +08:00
parent dd44342835
commit 0ca7002345
2 changed files with 8 additions and 7 deletions

View File

@ -1361,5 +1361,10 @@
"Expected TLS Alert": "Expected TLS Alert",
"None (Successful Connection)": "None (Successful Connection)",
"expectedTlsAlertDescription": "Select the TLS alert you expect the server to return. Use {code} to verify mTLS endpoints reject connections without client certificates. See {link} for details.",
"TLS Alert Spec": "RFC 8446"
"TLS Alert Spec": "RFC 8446",
"Specific Monitor Type": "Specific Monitor Type",
"markdownSupported": "Markdown syntax supported",
"htmlIndentationWarning": "If using HTML, avoid leading spaces to prevent formatting issues.",
"pauseDashboardHome": "Pause",
"Pause": "Pause"
}

View File

@ -25,9 +25,7 @@
class="form-control"
data-testid="description-input"
></textarea>
<div class="form-text">
{{ $t("markdownSupported") }}
</div>
<div class="form-text">{{ $t("markdownSupported") }}. {{ $t("htmlIndentationWarning") }}</div>
</div>
<!-- Footer Text -->
@ -39,9 +37,7 @@
class="form-control"
data-testid="footer-text-input"
></textarea>
<div class="form-text">
{{ $t("markdownSupported") }}
</div>
<div class="form-text">{{ $t("markdownSupported") }}. {{ $t("htmlIndentationWarning") }}</div>
</div>
<div class="my-3">