Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Valid elements are getting stripped #940

Closed
westonruter opened this issue Feb 7, 2018 · 0 comments
Closed

Valid elements are getting stripped #940

westonruter opened this issue Feb 7, 2018 · 0 comments
Assignees
Labels
Bug Something isn't working
Milestone

Comments

@westonruter
Copy link
Member

Certain elements that should be allowed are now getting stripped. For example div and meta. This problem introduced (by me) in 372412b as part of #929.

Examples of elements that are getting removed:

<div>
		<label for="contact-form-comment-g9-message" class="grunion-field-label textarea">Message</label>
		<textarea name="g9-message" id="contact-form-comment-g9-message" rows="20" class="textarea"></textarea>
</div>
<div>
		<label for="g9-website" class="grunion-field-label url">Website</label>
		<input type="url" name="g9-website" id="g9-website" value="" class="url">
</div>
<div>
		<label for="g9-email" class="grunion-field-label email">Email<span>(required)</span></label>
		<input type="email" name="g9-email" id="g9-email" value="" class="email" required aria-required="true">
</div>
<div>
		<label for="g9-name" class="grunion-field-label name">Name<span>(required)</span></label>
		<input type="text" name="g9-name" id="g9-name" value="" class="name" required aria-required="true">
</div>
<meta property="og:locale" content="en_US">

<meta property="og:image:height" content="1200">

<meta property="og:image:width" content="2000">

<meta property="og:image" content="https://src.wordpress-develop.test/wp-content/uploads/2017/11/espresso-137.jpg">

<meta property="og:site_name" content="WordPress Develop22s">

<meta property="article:modified_time" content="2018-02-07T16:37:21+00:00">

<meta property="article:published_time" content="2017-11-27T06:10:23+00:00">

<meta property="og:description" content="This is a page with some basic contact information, such as an address and phone number. You might also try a plugin to add a contact form.">

<meta property="og:url" content="https://src.wordpress-develop.test/contact/">

<meta property="og:title" content="Contact">

<meta property="og:type" content="article">
@westonruter westonruter added the Bug Something isn't working label Feb 7, 2018
@westonruter westonruter added this to the v0.7 milestone Feb 7, 2018
@westonruter westonruter self-assigned this Feb 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant