code_junkie

How to get correctly-encoded HTML from the clipboard?

Nov 11th, 2011
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. string s = (string) Clipboard.GetData(DataFormats.Html)
  2.  
  3. <FONT size=-2>  <A href="/advanced_search?hl=en">Advanced
  4. Search</A><BR>  <A href="/preferences?hl=en">Preferences</A><BR>  <A
  5. href="/language_tools?hl=en">Language
  6. Tools</A></FONT>
Add Comment
Please, Sign In to add comment