From cc7776f983a43773f2e680027ac66a3dbda3614f Mon Sep 17 00:00:00 2001 From: abgox Date: Wed, 5 Jun 2024 23:21:37 +0800 Subject: [PATCH] feat(script): update generate_list.ps1 --- script/generate_list.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/generate_list.ps1 b/script/generate_list.ps1 index ad7491e..ef193ff 100644 --- a/script/generate_list.ps1 +++ b/script/generate_list.ps1 @@ -120,8 +120,8 @@ function generate_list { } $lang_info = handle_language - $info_EN += $lang_info -join ' ' - $info_CN += $lang_info -join ' ' + $info_EN += $lang_info -join '
' + $info_CN += $lang_info -join '
' # Description ## EN @@ -151,7 +151,7 @@ function handle($lang) { function get_static_content($path) { $content = Get-Content -Path $path -Encoding UTF8 - $match = $content | Select-String -Pattern "\|:-:\|:-:\|-\|" + $match = $content | Select-String -Pattern "\|:-:\|-\|-\|" if ($match) { $matchLineNumber = ([array]$match.LineNumber)[0]