Recent Topics

1 May 27, 2014 22:54    

I can't save a post when an asynchronous adsense ad is embedded inside the post content.. When "force valid xhtml checking" is enabled, I get this error:

Parser error: Space required near <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" type="text/javascript"></script> -- P3D Bl

When "force valid XHTML" is disabled, I get this error:

Illegal javascript markup found: </script

If I disable javascript checking, the adsense code appears in the editor, the post is able to save, but then nothing appears at all on the rendered page, and the code is gone from the source code view of the rendered page.

How do I embed adsense code inside a post?

jj.

2 May 27, 2014 23:13

Never mind, I see that I can embed it using the available plugins. Was hoping to be able to do that myself rather than via a plugin but I guess it will work.

jj.


Form is loading...