sbillig/wikipedia-widget — pull request #5 by sbliven (2012-10-24 20:05:18+00:00)
Title: Fixed problem with pages not displaying

This fixes a problem I was having with pages not displaying.

The problem was that the DOMParser used the application/xml mimetype, which caused it not to create innerHTML properties. This patch switches to a text/html parser. I'm not sure if the error was due to a stricter DOMParser in Mountain Lion or if it would also affect older versions, but this should fix it.

This patch also contains a fix for detecting the home directory, and some minor formatting changes.