tiff / wysihtml5

Open source rich text editor based on HTML5 and the progressive-enhancement approach. Uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.
http://xing.github.com/wysihtml5/
MIT License
6.49k stars 995 forks source link

Removes Closing Tag For img, br and input elements #550

Open KumaranK555 opened 8 years ago

KumaranK555 commented 8 years ago

When I Insert Image \ : The Result Is : Rules for img** "img": { "check_attributes": { "width": "numbers", "alt": "alt", "src": "url", "height": "numbers" }, "add_class": { "align": "align_img" } },

I am using this value for generating XML. So, I need closing tag for all HTML tags. Is there is any method for allowing close tag for html tags like img, br and input elements.