Fix comments
This commit is contained in:
parent
cbd6c904f9
commit
9eb4d55ff4
@ -67,7 +67,8 @@ log() {
|
|||||||
echo "$(date --rfc-3339=seconds) $(hostname -s) ${PROGRAM}[$$]: $msg"
|
echo "$(date --rfc-3339=seconds) $(hostname -s) ${PROGRAM}[$$]: $msg"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Escape characters that are not HTML safe to ensure
|
# Escape characters that are not HTML safe to ensure accidental
|
||||||
|
# code injection does not occur.
|
||||||
html_encode() {
|
html_encode() {
|
||||||
local s
|
local s
|
||||||
s=${1//&/\&}
|
s=${1//&/\&}
|
||||||
@ -95,7 +96,8 @@ image_copy() {
|
|||||||
if [[ -z $file ]]; then
|
if [[ -z $file ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
# Get the file name in which to save the file as. Would typically be logo or the directory name of the repo.
|
# Get the file name in which to save the file as.
|
||||||
|
# Would typically be logo or the directory name of the repo.
|
||||||
local file_name=$2
|
local file_name=$2
|
||||||
if [[ -z $file_name ]]; then
|
if [[ -z $file_name ]]; then
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user