[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [FIX] Plugin edition form shows body content with HTML encoded characters

"Merci Jacob \(@mercihabam\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <689c4bf9b38d5_2c18e009851776@gitlab-sidekiq-low-urgency-cpu-bound-v2-6d888d6f76-gsgcp.mail>

Merci Jacob pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
04a1404e by Merci Jacob at 2025-08-13T08:25:20+00:00
[FIX] Plugin edition form shows body content with HTML encoded characters
---
* [FIX] Plugin edition form shows body content with HTML encoded characters

See merge request tikiwiki/tiki!8142


(cherry picked from commit da6f89a5b7d044b124fbf47921f8fbfc4e489715)

21e44171 [FIX] Plugin edition form shows body content with HTML encoded characters

Co-authored-by: Merci Jacob <[email protected]>
- - - - -


1 changed file:

- lib/core/Services/Edit/PluginController.php


Changes:

=====================================
lib/core/Services/Edit/PluginController.php
=====================================
@@ -317,7 +317,7 @@ class Services_Edit_PluginController
                 'pageName' => $page,
                 'pluginArgs' => $pluginArgs,
                 'pluginArgsJSON' => json_encode($pluginArgs),
-                'bodyContent' => $bodyContent,
+                'bodyContent' => TikiLib::lib("parser")->unprotectSpecialChars(html_entity_decode($bodyContent), true),
                 'edit_icon' => $edit_icon,
                 'selectedMod' => $selectedMod,
                 'isMarkdown' => $isMarkdown,



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/04a1404eb1f634ddfa8b653f84fe6d3f9de57040

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/04a1404eb1f634ddfa8b653f84fe6d3f9de57040
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.