![]() |
HTML tags in parser - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: HTML tags in parser (/showthread.php?tid=86155) |
HTML tags in parser - sjender - 01-16-2023 Hi all, I have a WYSIWYG edit, which saves content to a DB. Now I would like to use this HTML code in my template file using a var. So I used {{wysiwyg}} (My delimiters are {{ and }} ). But this is printing the HTML code, instead of parsing it. I tried {{!wysiwyg!}}, but with no luck. How can I get the template to format the text instead of displaying the HTML code? RE: HTML tags in parser - kenjis - 01-17-2023 It is a bug. RE: HTML tags in parser - kenjis - 01-17-2023 I sent a PR to fix: https://github.com/codeigniter4/CodeIgniter4/pull/7142 |