[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] prefs/textarea.tpl: remove double |escape causing HTML-escaping corruption on save
"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <69e0f34d513ca_3b18e82c4117f@gitlab-sidekiq-low-urgency-cpu-bound-v2-6b854c6574-n72q4.mail> |
ushindi bienvenu pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
92bf8cbc by Olivier Kango at 2026-04-16T14:19:06+00:00
[FIX] prefs/textarea.tpl: remove double |escape causing HTML-escaping corruption on save
---
* FIX: add comment explaining why {.value} is not escaped in textarea.tpl
* [FIX] prefs/textarea.tpl: remove double |escape causing HTML-escaping corruption on save
See merge request tikiwiki/tiki!10028
- - - - -
1 changed file:
- templates/prefs/textarea.tpl
Changes:
=====================================
templates/prefs/textarea.tpl
=====================================
@@ -15,7 +15,8 @@
rows="{$p.size|escape|default:null}"
disabled="{if $p.parameters.disabled|default:''}disabled{else}{/if}"
}
- {$p.value|escape}
+ {* No |escape here: _wysiwyg="n" forces wiki_edit.tpl which already applies |escape on $textareadata. Adding it here would cause double-escaping. *}
+ {$p.value}
{/textarea}
{include file="prefs/shared-form-text.tpl"}
</div>
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/92bf8cbc293b719258b27fa0f5250cde0d61aa46
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/92bf8cbc293b719258b27fa0f5250cde0d61aa46
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs