[pango/test-coverage: 7/22] markup: Don't accept attributes on <markup>
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/test-coverage: 7/22] markup: Don't accept attributes on <markup>
- Date: Mon, 28 Jun 2021 04:05:15 +0000 (UTC)
commit 0dd8fc513016915e78728fa9a75343c4e41d848f
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 26 14:50:38 2021 -0400
markup: Don't accept attributes on <markup>
Better to enforce this.
pango/pango-markup.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/pango/pango-markup.c b/pango/pango-markup.c
index eb262980..38e908c5 100644
--- a/pango/pango-markup.c
+++ b/pango/pango-markup.c
@@ -1646,6 +1646,7 @@ markup_parse_func (MarkupData *md G_GNUC_UNUSED,
GError **error G_GNUC_UNUSED)
{
/* We don't do anything with this tag at the moment. */
+ CHECK_NO_ATTRS("markup");
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]