Site logo

Archived topic

WordPress inserts extra markup

2 replies · Started by Miroslav on September 22, 2017

Viewing posts 1–3 of 3

Hi,

I'm not sure this is a GP issue (I'm using Sections), but WP insists on messing up my code even if I place all markup on one line.

My code in WP backend (Sections):
screenshot
Screenshot

My code as rendered:
screenshot
Screenshot

Any ideas? I checked for unclosed tags, but didn't find any. It seems WP has troubles processing tags nested inside an anchor tag (<a>).

Yes, I guess you're right. I will try with inline elements, but I was just surprised how prude (outdated?) WP is in treating HTML markup.

This archived topic is closed to new replies.