added quotation handling

Hi,

i had some problems during parsing markup where attributes (like the alt-attribute) includes quotations.

I fixed the problem and added a test case. All the other (working) tests were fine as well after my adaptions.

Cheers, Johannes