Actual Page Source

Add-in Express™ Support Service
That's what is more important than anything else

Actual Page Source
Need to get the actual page source before mshtml parses it 
Brett Lefebvre




Posts: 10
Joined: 2010-07-13
In my explorer bar I am getting the document body html via:
HTMLDocument.body.innerHTML


This works fine, however the html that is returned has all the tags capitalized and the quotes surrounding some attributes removed. Is there any way to get the page source that the mshtml parser hasn't messed with (the source as it is if you right-click and "View Source")?
Posted 06 Aug, 2010 16:30:13 Top
Brett Lefebvre




Posts: 10
Joined: 2010-07-13
Nevermind. I figured out a solution using the IPersistStreamInit interface.
Posted 10 Aug, 2010 00:30:36 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Brett,

Thank you for letting us know!
.NET, Extended MAPI, Windows Phone & RT
Posted 10 Aug, 2010 05:24:06 Top