]> granicus.if.org Git - cgit/commit
ui-atom: properly escape delimiter in page link
authorJohn Keeping <john@keeping.me.uk>
Sun, 15 Jan 2017 12:29:38 +0000 (12:29 +0000)
committerLukas Fleischer <lfleischer@lfos.de>
Thu, 10 Aug 2017 13:15:54 +0000 (15:15 +0200)
commit7f7f91141ced1085dd2c6dbc5c65703d73b1b8c7
treeaaf89e31e591d14fe43a330f6e037473aba68448
parentd08d6fcb19bb5f008b34282fe59fed3acd93e67f
ui-atom: properly escape delimiter in page link

If the delimiter here is '&' then it needs to be escaped for inclusion
in an attribute.  Use html_attrf() to ensure that this happens (we know
that hex won't need escaping, but this makes it clearer what's
happening.

Signed-off-by: John Keeping <john@keeping.me.uk>
ui-atom.c