Use encodeURIComponent for the "Download it!" links
Use encodeURIComponent for the "Download it!" links

Previously, a # in the data would cause all that followed to be
interpreted as the fragment identifier, which broke the download.

Thanks to Bill Palmer for reporting this issue!

foolip/microdatajs,abernier/microdatajs,foolip/microdatajs