mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-12 07:44:19 -06:00
build: Add charset to stylesheet link tags.
This commit is contained in:
parent
afe803960a
commit
4e6f8fae2e
@ -212,7 +212,7 @@ function build_source {
|
|||||||
done
|
done
|
||||||
TEMPLATE_STYLES=""
|
TEMPLATE_STYLES=""
|
||||||
for STYLE in ${TEMPLATE_Assets_Styles[@]}; do
|
for STYLE in ${TEMPLATE_Assets_Styles[@]}; do
|
||||||
TEMPLATE_STYLES+="<link rel=\"stylesheet\" href=\"${BASE_RELPATH}${STYLE}\" />"
|
TEMPLATE_STYLES+="<link rel=\"stylesheet\" href=\"${BASE_RELPATH}${STYLE}\" charset=\"utf-8\" />"
|
||||||
done
|
done
|
||||||
sed -E \
|
sed -E \
|
||||||
-e 's|\{\{[ ]*template\.scripts[ ]*\}\}|'"${TEMPLATE_SCRIPTS:-}"'|g' \
|
-e 's|\{\{[ ]*template\.scripts[ ]*\}\}|'"${TEMPLATE_SCRIPTS:-}"'|g' \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user