Sanitize user text input

This commit is contained in:
rueeggeandre committed 2026-06-07 23:08:29 +02:00
1 parent a8207c4f7b
commit 86c40aee91
9 files changed
+179 -59

No files matched your search

+4
View File
@@ -641,6 +641,7 @@
<input
type="text"
id="journey-title"
maxlength="200"
placeholder="My European Adventure"
required
/>
@@ -660,6 +661,7 @@
>
<textarea
id="journey-description"
maxlength="20000"
placeholder="Describe your journey..."
></textarea>
</div>
@@ -842,6 +844,7 @@
<input
type="text"
id="marker-title"
maxlength="200"
placeholder="Eiffel Tower"
/>
</div>
@@ -853,6 +856,7 @@
<label for="marker-text">Description</label>
<textarea
id="marker-text"
maxlength="10000"
placeholder="Describe this marker. You can use Markdown like **bold**, [link](https://example.com), or ![image](https://example.com/image.jpg)."
></textarea>
<div