alanthejudoka Posted May 19, 2021 Posted May 19, 2021 Hi everyone, I created a markup admin data table with html syntax in each row. However, when I render the template everything converts into a string. Is there a way I can keep the html format after this conversion?
BitPoet Posted May 19, 2021 Posted May 19, 2021 Call $table->setEncodeEntities(false) before rendering. 1
alanthejudoka Posted May 19, 2021 Author Posted May 19, 2021 I just did as shown in line 49, but it's still shown as a string rather than as HTML LabData.module.php
MarkE Posted May 20, 2021 Posted May 20, 2021 Just a thought- have you tried setEncodeEntities(false) before writing the rows? 1
alanthejudoka Posted May 20, 2021 Author Posted May 20, 2021 Alright Mark, that did the trick. Thank you so much!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now