My html is generated using angular js.
 
 
Here is the html that my angular template is using. The values rendered in the browser are all correct.
 
I get the desired html that is needed. Because when I copy paste the generated html inside a content editor webpart that gives the status.