Refactored handling for "output" element. Added handling for "q" element.
Refactored handling for "output" element. Added handling for "q" element.

gitenberg-dev/HTMLBook,wastemobile/HTMLBook,mushroomgithub/HTMLBook,wastemobile/HTMLBook,gitenberg-dev/HTMLBook,oreillymedia/HTMLBook,oreillymedia/HTMLBook,mushroomgithub/HTMLBook,oreillymedia/HTMLBook,macmillanpublishers/HTMLBook,macmillanpublishers/HTMLBook,gitenberg-dev/HTMLBook,macmillanpublishers/HTMLBook,mushroomgithub/HTMLBook