utiliser les fonctions strlower() et strupper() pour compatibilité
This commit is contained in:
@@ -59,7 +59,7 @@ function check_overwrite() {
|
||||
}
|
||||
|
||||
function __update_title() {
|
||||
titlehl="${titlehl,,}"
|
||||
titlehl="$(strlower "$titlehl")"
|
||||
[ -n "$titlehl" ] || titlehl=h1
|
||||
[ "${titlehl:0:1}" == "h" ] || titlehl="h$titlehl"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user