I create post using xml-rpc, in post_content
I post HTML, in HTML I have js code. But after post is created in editor I don't see <script type="text/javascript">
tag. How I can fix it?
Example I post body
<div>Text<div>
<script type="text/javascript">
var ua = navigator.userAgent.toLowerCase();
var flashInstalled = false;
</script>
And then in editor I see
<div>Text<div>
var ua = navigator.userAgent.toLowerCase();
var flashInstalled = false;