[WIP] Initial commit for qsgen3
This commit is contained in:
16
docs/zsdoc/data/functions/qsgen2/_cleanup
Normal file
16
docs/zsdoc/data/functions/qsgen2/_cleanup
Normal file
@ -0,0 +1,16 @@
|
||||
if [[ ${globaldebug} == "true" ]]; then
|
||||
local debug=true
|
||||
else
|
||||
local debug=false
|
||||
fi
|
||||
|
||||
local content="${1}"
|
||||
|
||||
if (${debug}) _msg debug "${0:t}_msg_1"
|
||||
local cleaned_content=$(echo "${content}" | sed \
|
||||
-e "s|¤||g" \
|
||||
-e "s|#showimg\ ||g" \
|
||||
-e "s|#ytvideo\ ||g" \
|
||||
-e "s|#link\ ||g" \
|
||||
)
|
||||
echo "${cleaned_content}"
|
Reference in New Issue
Block a user