aboutsummaryrefslogtreecommitdiff
path: root/scan-tree.h
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@kodafritt.se>2023-01-07 09:32:07 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2023-01-10 16:52:54 +0000
commit00ecfaadea2c40cc62b7a43e246384329e6ddb98 (patch)
treed49073f892df4fcd785defc8c3d9afddd6fb4fcb /scan-tree.h
parent907134b7a29177cb45aa461c549c004b1ae875af (diff)
downloadcgit-00ecfaadea2c40cc62b7a43e246384329e6ddb98.tar
cgit-00ecfaadea2c40cc62b7a43e246384329e6ddb98.tar.gz
cgit-00ecfaadea2c40cc62b7a43e246384329e6ddb98.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 'scan-tree.h')
0 files changed, 0 insertions, 0 deletions