Do not mistakenly transform unsafe characters into JSON notation when sending from the server as pre-set form values
This commit is contained in:
parent
940680fc1b
commit
1c542bd35b
3 changed files with 8 additions and 6 deletions
|
@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## Unreleased
|
||||
### Fixed
|
||||
* Do not mistakenly transform unsafe characters into JSON notation when sending from the server as pre-set form values
|
||||
|
||||
## 0.4.4 - 2025-02-11
|
||||
### Fixed
|
||||
|
|
|
@ -178,15 +178,15 @@
|
|||
type="text"
|
||||
name="name"
|
||||
id="feed-{%s= id %}-name"
|
||||
value="{%j name %}"
|
||||
value="{%s name %}"
|
||||
></th>
|
||||
<td><input
|
||||
class="form-control form-control-sm"
|
||||
type="url"
|
||||
name="url"
|
||||
id="feed-{%s= id %}-url"
|
||||
value="{%j url %}"
|
||||
><input type="hidden" name="old-url" value="{%j url %}"></td>
|
||||
value="{%s url %}"
|
||||
><input type="hidden" name="old-url" value="{%s url %}"></td>
|
||||
<td>
|
||||
<div class="btn-group btn-group-sm" role="group" aria-label="Basic example">
|
||||
<button
|
||||
|
|
|
@ -285,7 +285,7 @@ func StreamRenderFeedEditRow(qw422016 *qt422016.Writer, id, name, url string) {
|
|||
qw422016.N().S(id)
|
||||
qw422016.N().S(`-name"
|
||||
value="`)
|
||||
qw422016.E().J(name)
|
||||
qw422016.E().S(name)
|
||||
qw422016.N().S(`"
|
||||
></th>
|
||||
<td><input
|
||||
|
@ -296,10 +296,10 @@ func StreamRenderFeedEditRow(qw422016 *qt422016.Writer, id, name, url string) {
|
|||
qw422016.N().S(id)
|
||||
qw422016.N().S(`-url"
|
||||
value="`)
|
||||
qw422016.E().J(url)
|
||||
qw422016.E().S(url)
|
||||
qw422016.N().S(`"
|
||||
><input type="hidden" name="old-url" value="`)
|
||||
qw422016.E().J(url)
|
||||
qw422016.E().S(url)
|
||||
qw422016.N().S(`"></td>
|
||||
<td>
|
||||
<div class="btn-group btn-group-sm" role="group" aria-label="Basic example">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue