Fix issue: unprintable character is rendered when handling comments in j2 (#16287)
Use "{#-" and "-#}" to mark comments in jinja template Signed-off-by: Stephen Sun <stephens@nvidia.com>
This commit is contained in:
parent
65b0011866
commit
be8843b166
@ -1,4 +1,4 @@
|
|||||||
{#
|
{#-
|
||||||
Copyright (c) 2020-2023 NVIDIA CORPORATION & AFFILIATES.
|
Copyright (c) 2020-2023 NVIDIA CORPORATION & AFFILIATES.
|
||||||
Apache-2.0
|
Apache-2.0
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -10,7 +10,7 @@
|
|||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
#}
|
-#}
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
declare -r SCRIPT_NAME="$(basename "$0")"
|
declare -r SCRIPT_NAME="$(basename "$0")"
|
||||||
|
Reference in New Issue
Block a user