alanthejudoka Posted May 19, 2021 Share 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? Link to comment Share on other sites More sharing options...
BitPoet Posted May 19, 2021 Share Posted May 19, 2021 Call $table->setEncodeEntities(false) before rendering. 1 Link to comment Share on other sites More sharing options...
alanthejudoka Posted May 19, 2021 Author Share 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 Link to comment Share on other sites More sharing options...
MarkE Posted May 20, 2021 Share Posted May 20, 2021 Just a thought- have you tried setEncodeEntities(false) before writing the rows? 1 Link to comment Share on other sites More sharing options...
alanthejudoka Posted May 20, 2021 Author Share Posted May 20, 2021 Alright Mark, that did the trick. Thank you so much! Link to comment Share on other sites More sharing options...
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