Hi I am now sending a snapshot of current webpage using Onenote API:
http://msdn.microsoft.com/en-us/library/office/dn575431(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/office/dn575438(v=office.15).aspx#sectionSection4
When posting the multipart content, I put HTML content in the 'MyAppHtmlId' part:
<img data-render-src="name:MyAppHtmlId" alt="a cool image" width="500"/>
and the HTML content is got by:
document.documentElement.outerHTML;
The problem is that sometimes the snapshot saved in Onenote is not exact what I saw in the browser. But when I turn to use the Chrome extension "OneNote Clipper" to test the same page, it works well. (Example page: https://stackoverflow.com/)
Is that I use the wrong Javascript code to get the HTML content or something else I missed about Onenote API?