From 1c542bd35b0e5f6ca4e4b92cc849bd652b901f8d Mon Sep 17 00:00:00 2001 From: AKP Date: Tue, 11 Feb 2025 16:26:03 +0000 Subject: Do not mistakenly transform unsafe characters into JSON notation when sending from the server as pre-set form values --- CHANGELOG.md | 2 ++ walrss/internal/http/views/main.qtpl.html | 6 +++--- walrss/internal/http/views/main.qtpl.html.go | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4345235..3ce3d5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/walrss/internal/http/views/main.qtpl.html b/walrss/internal/http/views/main.qtpl.html index a6b5843..4619ee6 100644 --- a/walrss/internal/http/views/main.qtpl.html +++ b/walrss/internal/http/views/main.qtpl.html @@ -178,15 +178,15 @@ type="text" name="name" id="feed-{%s= id %}-name" - value="{%j name %}" + value="{%s name %}" > + value="{%s url %}" + >