Schema Dropping out in text widget

When I attempt to add local address schema (microdata markup) in a text area the mark-up gets stripped out. I am using the text and not the visual editor. What you get is <itemtype=“http://schema.org/Organization”>Name of your Business

Hey Michele. Yeah, this is a frustrating quirk with the default WordPress editor. Would it be possible to use an HTML module instead of a text module? That would be the easiest way to keep the schema data. Otherwise, you might need to look for/experiment with plugins that will prevent WordPress’ editor from striping the schema markup. Let me know!

[Content Hidden]

Ahh, I bet defaulting to the HTML editor is preventing the tags from being stripped.

I found this code snippet: https://snipt.net/jamesw/prevent-tinymce-from-stripping-schemaorg-attributes-in-wordpress/

I haven’t tested it, but you could give that a try and see if it prevents the tags from being stripped. Let me know if that works out for you.