Line break bug | WordPress.org

[ad_1]

I recently had to troubleshoot an issue where the data from a Google Sheet was not appearing on the wpDataTable.

Apparently when a cell contains data on two lines such as

This is line 1
This is line 2

It won’t appear in the data table, either on the front end or the back end.

Simply combining the data into one line fixes the issue.

This is line 1 / This is line 2

This has been tested and confirmed.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer