Getting text from webbrowser when page has no html tags
Okay. So the problem I have is that im using a webbrowser to open a webpage, and then put the text from the page into a string. Next I check to see if the string contains certain keywords.
All of which has almost always worked just fine the way im doing it. I have come across a webpage that when I load it up in the browser, and try to get the text it returns as a blank string. Same result when trying a webrequest.
I noticed the source of the page is not structure like an html document. The whole this is just wrapped in <pre> tags.
My question is could the document currently in the browser not being proper html cause me to get nothing from retrieving the documents text?
Sorry for no code examples I do not have access to the vs on this computer.