From e3f7268a8b1df843b73485f8368817a2404825a3 Mon Sep 17 00:00:00 2001
From: Karson <karsonzhang@163.com>
Date: Sat, 8 Jun 2019 09:52:29 +0800
Subject: [PATCH] 优化附加扩展参数

---
 application/admin/view/general/attachment/edit.html | 2 +-
 public/assets/fonts/SourceHanSansK-Regular.ttf      | Bin 0 -> 1299236 bytes
 public/assets/fonts/fzltxh.ttf                      | Bin 2385960 -> 0 bytes
 3 files changed, 1 insertion(+), 1 deletion(-)
 create mode 100755 public/assets/fonts/SourceHanSansK-Regular.ttf
 delete mode 100644 public/assets/fonts/fzltxh.ttf

diff --git a/application/admin/view/general/attachment/edit.html b/application/admin/view/general/attachment/edit.html
index 2a9793c..b96d60d 100644
--- a/application/admin/view/general/attachment/edit.html
+++ b/application/admin/view/general/attachment/edit.html
@@ -45,7 +45,7 @@
     <div class="form-group">
         <label for="c-extparam" class="control-label col-xs-12 col-sm-2">{:__('Extparam')}:</label>
         <div class="col-xs-12 col-sm-8">
-            <input type="text" name="row[extparam]" value="{$row.extparam}"  id="c-extparam" class="form-control" />
+            <input type="text" name="row[extparam]" value="{$row.extparam|htmlentities}"  id="c-extparam" class="form-control" />
         </div>
     </div>
     <div class="form-group">
diff --git a/public/assets/fonts/SourceHanSansK-Regular.ttf b/public/assets/fonts/SourceHanSansK-Regular.ttf
new file mode 100755
index 0000000..07e6383
Binary files /dev/null and b/public/assets/fonts/SourceHanSansK-Regular.ttf differ
diff --git a/public/assets/fonts/fzltxh.ttf b/public/assets/fonts/fzltxh.ttf
deleted file mode 100644
index e3c7f7c..0000000
Binary files a/public/assets/fonts/fzltxh.ttf and /dev/null differ
--
libgit2 0.24.0