fix escaping bio a second time on rendering

This commit is contained in:
Swrup 2022-02-19 02:30:57 +01:00
parent dfda60c3e9
commit a8708cca19

View file

@ -3,7 +3,7 @@ let f nick bio request =
<%s! Dream.form_tag ~action:"/profile" request %> <%s! Dream.form_tag ~action:"/profile" request %>
<div class="mb-3"> <div class="mb-3">
<label for="bio" class="form-label">Bio</label> <label for="bio" class="form-label">Bio</label>
<textarea name="bio" type="text" class="form-control" id="bio" aria-describedby="bioHelp"><%s bio %></textarea> <textarea name="bio" type="text" class="form-control" id="bio" aria-describedby="bioHelp"><%s! bio %></textarea>
<div id="bioHelp" class="form-text">Who are you?</div> <div id="bioHelp" class="form-text">Who are you?</div>
</div> </div>
<button type="submit" class="btn btn-primary">Save</button> <button type="submit" class="btn btn-primary">Save</button>