Ning Strips Javascript in Pages

Nings ‘Pages’ functionality is great because it lets you add javascript in your code. The other day I  tried pasting in my code and noticed after I saved it that Ning stripped out my javascript. I put in a help ticket and discovered that there is actually a bug in the Ning system.

My code looked something similar to this:

some content

After Saving it my code turned into this:

some content

The Fix:

All you have to do is enter some text before the javascript. Like I said it’s a bug and it doesn’t make sense as to why it works but it does. Something like this should work fine:

Some text

some content