summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-app-validate.c
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2022-07-15 21:18:47 +0200
committerRichard Hughes <richard@hughsie.com>2022-07-18 19:43:07 +0100
commit674490bd54ff206f213ca4547db7fdb591a0fb3d (patch)
tree754f13870582908910ebb30fff6ea2daa360ab72 /libappstream-glib/as-app-validate.c
parent8d39640032752bf81d648d018ff115aa8d495957 (diff)
downloadappstream-glib-674490bd54ff206f213ca4547db7fdb591a0fb3d.tar.gz
Improve handling of <em> and <code> tags
This is still not great code but at least somewhat an improvement. Tests were expanded to showcase the new behavior. I think, ideally, we would append opening/closing tags to the ancestor `p` or `li` node's cdata as soon as we encounter the start/end of an `em` or `code` element. This would then also handle empty elements correctly.
Diffstat (limited to 'libappstream-glib/as-app-validate.c')
0 files changed, 0 insertions, 0 deletions