From: Samuel Lidén Borell Date: Sat, 7 Jan 2023 09:32:07 +0000 (+0100) Subject: config: make empty js= omit script tag X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/00ecfaadea2c40cc62b7a43e246384329e6ddb98?ds=inline;hp=00ecfaadea2c40cc62b7a43e246384329e6ddb98 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 Signed-off-by: Jason A. Donenfeld ---