Skip Navigation

[Resolved] When looping through product attributes, toolset is adding and tags

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 6.79 hours from now. Thank you for your understanding.

This topic contains 1 voice and has 0 replies.

>
Author
Posts
#2627045

We have an existing layout, when the section goes through the loop it adds <br> and nested <p> tags when wpv-conditional is not satisfied. The code below is the table that is being used in part of the layout.

https://pastebin.com/wUugefJL

When you look at a product, hidden link the "Nutritional Information" tab has a large whitespace before the table being generated. If I remove the all wpv-conditional shortcodes and just leave <tbody></tbody> tags

#2627067

Realized that the spaces and line breaks after the toolset shortcodes show up as content now. After sanitizing my data it is being displayed properly.