diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-06-26 14:50:38 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-06-28 00:05:09 -0400 |
commit | 0dd8fc513016915e78728fa9a75343c4e41d848f (patch) | |
tree | 1025739f75f36df2549237cecf5243a7a677f1a5 | |
parent | c07f28d3f83678c4ad75086beca181a145ecf07d (diff) | |
download | pango-0dd8fc513016915e78728fa9a75343c4e41d848f.tar.gz |
markup: Don't accept attributes on <markup>
Better to enforce this.
-rw-r--r-- | pango/pango-markup.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |