aboutsummaryrefslogtreecommitdiffstats
path: root/ui-tree.c
diff options
context:
space:
mode:
authorSamuel Lidén Borell2023-01-07 10:32:07 +0100
committerYigit Sever2023-07-21 03:04:19 +0300
commitb6ffc623fec1149c2be40ce94e160b2a5c542bf4 (patch)
tree0daa7e279f7c1691914866ca452c451ac65ddfa0 /ui-tree.c
parent2dcb46a217e141d949dbce66ee79201658cfb391 (diff)
downloadcgit-b6ffc623fec1149c2be40ce94e160b2a5c542bf4.tar.gz
cgit-b6ffc623fec1149c2be40ce94e160b2a5c542bf4.tar.bz2
cgit-b6ffc623fec1149c2be40ce94e160b2a5c542bf4.zip
config: make empty js= omit script tag
According to the cgitrc man page, an empty js= value should cause the script tag to be omitted. But instead, a script tag with an empty URL is emitted. The same applies to css. So, skip emitting a tag if the specified string is empty. Signed-off-by: Samuel Lidén Borell <samuel@kodafritt.se> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui-tree.c')
0 files changed, 0 insertions, 0 deletions