Hi Pat,
The problem you’re running into is an explicit incompatibility between the plugins. The ET Shortcodes plugin expressly removes line breaks in tabbed content although I’m not really sure why. Maybe it was some design choice that the developer made, but it is certainly no accident. See line 917 of the ET Shortcodes plugin’s shortcodes.php
file. Here is the problematic function:
function et_delete_htmltags($content,$paragraph_tag=false,$br_tag=false){
$content = preg_replace('#^<\/p>|^<br \/>|<p>$#', '', $content);
$content = preg_replace('#<br \/>#', '', $content);
if ( $paragraph_tag ) $content = preg_replace('#<p>|</p>#', '', $content);
return trim($content);
}
As you can see, this function purposefully and indiscriminately removes paragraph elements (<p>
) and line break elements (<br>
) from any content provided to the [tab]
shortcode. As a result, the line breaks inserted by Inline Google Spreadsheet Viewer to respect your explicit newlines in the Google Spreadsheet are then stripped by the ET Shortcodes plugin, apparently on purpose.
This means that the incompatibility is squarely the result of the ET Shortcodes plugin. I looked around at the nearby functions and code flow in the ET Shortcodes plugin but unfortunately could not immediately find a workaround. There is apparently no option or plugin filter hook API with which to customize this behavior, although it’s possible that it’s simply undocumented and I haven’t found it yet.
So I’m afraid this means that to resolve the issue, you’ll have to communicate with the developer of the ET Shortcodes plugin and inform them of why this function is causing you a problem. However, at least you can begin that conversation by pointing to a specific function in their code.
I hope this helps and, again, I’m sorry that this means there’s nothing I can do from the Inline Google Spreadsheet Viewer side of things to resolve this incompatibility for you.