diff options
author | Samuel Lidén Borell | 2023-01-07 10:32:07 +0100 |
---|---|---|
committer | Yigit Sever | 2023-07-21 03:04:19 +0300 |
commit | b6ffc623fec1149c2be40ce94e160b2a5c542bf4 (patch) | |
tree | 0daa7e279f7c1691914866ca452c451ac65ddfa0 /git@yigitsever.com:misc | |
parent | 2dcb46a217e141d949dbce66ee79201658cfb391 (diff) | |
download | cgit-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 'git@yigitsever.com:misc')
0 files changed, 0 insertions, 0 deletions