0

I am using froala wysiwyg editor to generate some content in a Web page.

The problem is that it generates single tags without the normalized ending "/>", for example, IMG tags.

Is there an algorithm to fix that using C#? That HTML is the input for another component which is expecting a well formed html.

jstuardo
  • 3,901
  • 14
  • 61
  • 136
  • 2
    What exactly does a single tag it generates look like? A proper [MCVE](https://stackoverflow.com/help/mcve) would be handy. – Sach Aug 01 '18 at 20:50
  • "Well formed" does not exist for HTML. Maybe it wants well-formed XML such as XHTML? – Thomas Weller Aug 01 '18 at 20:50
  • 1
    @Sach for example, is bad formed. It should be ..... Thomas Weller is right..... name is actually XHTML. – jstuardo Aug 01 '18 at 20:56

0 Answers0