UI – interpret <code> element in help text (#17350)

## ➡️ #17351 
Bug:

![screenshot_2024-03-04_at_16 19
46_360](https://github.com/fleetdm/fleet/assets/61553566/54bd9619-d3bb-4b22-9d44-870f45ce931a)

Fixed:

![Screenshot 2024-03-04 at 12 45
08 PM](https://github.com/fleetdm/fleet/assets/61553566/789cb74c-a2b3-4174-8f42-294a25e80bfc)

- [x] Manual QA for all new/changed functionality

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
Jacob Shandling 2024-03-04 12:57:02 -08:00 committed by GitHub
parent 316321e889
commit f230f90cee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,11 @@ const WebAddress = ({
<form onSubmit={onFormSubmit} autoComplete="off">
<InputField
label="Fleet app URL"
helpText="Include base path only (eg. no <code>/latest</code>)"
helpText={
<>
Include base path only (eg. no <code>/latest</code>)
</>
}
onChange={handleInputChange}
name="serverURL"
value={serverURL}