rofldev/pugihtml — pull request #5 by xiehuc (2012-06-05 02:15:34+00:00)
Title:  hot fix to attribute

hello.
i just write a hot fix to recognise attribute.
like that attribute=value;
eg color=#FFFFF
i meet this situation.so i need to fix it.

the method is that
first
let ch=' " ';
then change the char of end of the attribute to ' " ' temply;
then use function strconv_attribute to recognise attribute.
finally let the char of end of the attribute back to before.

really a small fix.
i test it works good. though i fear some wrong i dont know.
so please chech again.

code around pugihtml.cpp:2101.

ps.your pugihtml is excellent.