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
07b5677095
commit
72aab2b58e
@ -1,4 +1,4 @@
|
|||||||
{#
|
{#-
|
||||||
Copyright (c) 2020-2023 NVIDIA CORPORATION & AFFILIATES.
|
Copyright (c) 2020-2023 NVIDIA CORPORATION & AFFILIATES.
|
||||||
Apache-2.0
|
Apache-2.0
|
||||||
|
|
||||||
@ -13,7 +13,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