GMarkup: clear attributes on ignorned tags
authorRyan Lortie <desrt@desrt.ca>
Tue, 29 Oct 2013 16:01:32 +0000 (09:01 -0700)
committerRyan Lortie <desrt@desrt.ca>
Tue, 29 Oct 2013 16:37:06 +0000 (09:37 -0700)
commitdaff84e23c4870f674293a90f36d79f4587d20cc
tree7a9c5f00371112f650544b524c0bef85850c2e4e
parent425f307b01a41e6cd4922b037105a66293863cce
GMarkup: clear attributes on ignorned tags

Make sure that if we ignore a tag then we also clear the attributes that
we already collected so that they don't end up on the next unignored tag
opening.

Also add some extra brackets for clarity (it doesn't make any difference
-- I just think it reads nicer this way).

https://bugzilla.gnome.org/show_bug.cgi?id=665634
glib/gmarkup.c