I am seeing some odd behaviors when posting a new wiki page using the API. For example the following body content posts.
For example the following body content will post just fine.
However, the following body content (with everything else identical) will result in a 401 unauthorized error. I am aware that the html is not quite right. I was working to narrow things down to a minimal example that would show the problem.
I also have found that if I add a style attribute to any of the tags, or any other tags for that matter. This will work
And this will produce the 401 error. Again, everything else is identical.
I can save all of the html snippits into a wiki page without any issues, so there doesn't seem to be a fundamental problem with saving that html.
Any help or ideas on this is greatly appreciated.