Random p tag being added to output
-
Hi! Thanks for this wonderful plugin. It makes managing links a lot easier and approachable for non technical folk.
I am having an issue with the [link-library] shortcode outputting a comment
<!-- Beginning of Link Library Output -->
that ends up being wrapped in a P tag. I am hiding empty P tags, but — as this one has actual content, albeit invisible — it still shows. I’ve modified the file render-link-library-sc.php such that lines 356-360 read
if ( false ) { $output = "\n<!-- Beginning of Link Library Output -->\n\n"; } else { $output = ''; }
But, of course, that means I have to make the change every time you release a new version. Would it be possible to remove the surrounding \n tags (which WordPress insists on treating as a paragraph break) from line 357?
Thank you for your help!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Random p tag being added to output’ is closed to new replies.