Welcome Guest, Not a member yet? Register   Sign In
HTML tags in parser
#1

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?
Reply
#2

It is a bug.
Reply
#3

I sent a PR to fix: https://github.com/codeigniter4/CodeIgniter4/pull/7142
Reply




Theme © iAndrew 2016 - Forum software by © MyBB