{"id":6595240,"date":"2015-09-29T07:58:19","date_gmt":"2015-09-29T07:58:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-changes-html-code-on-update\/"},"modified":"2016-08-30T18:31:48","modified_gmt":"2016-08-30T18:31:48","slug":"plugin-changes-html-code-on-update","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-changes-html-code-on-update\/","title":{"rendered":"Plugin changes html code on update"},"content":{"rendered":"<p>Uploaded plugin as wanted to prevent stripping out of structured data on switching between visual and text.<\/p>\n<p>At first looked great but on saving it alters all the html code<br \/>\nExample<\/p>\n<p>&#8216;&lt;div itemscope itemtype=&#8221;http:\/\/schema.org\/CreativeWork&#8221;&gt;&#8217;<br \/>\nto<\/p>\n<p>&lt;div itemscope=&#8221;&#8221; itemtype=&#8221;http:\/\/schema.org\/CreativeWork&#8221;&gt;&lt;\/div&gt;<\/p>\n<p>I cannot get the post to show the code as is &#8211; suffice to say it changes the &lt; and &gt; to &amp;lt and &amp;gt<br \/>\nAny thoughts?<\/p>\n<p>Thanks<\/p>\n<p>https:\/\/wordpress.org\/plugins\/preserved-html-editor-markup\/<\/p>\n","protected":false},"template":"","class_list":["post-6595240","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6595240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6595240\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6595240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}