kendo ui mvc 编辑器 "greater than or equal" iTextSharp
kendo ui mvc editor "greater than or equal" iTextSharp
我已将我的 MVC 4 应用程序升级到 MVC 5,并从 Telerik MVC Editor 2011.2.712 升级到 Kendo UI MVC Editor 2018.2.260。我正在使用 iTextSharp 5.5.2 生成 PDF。
当我在旧程序中输入≤7时,它被保存为
<p></p>≤7<p></p>
生成正确的 PDF 输出 ≤7
然而在Kendo中,它被保存为
<p>≤7<br /></p>
PDF 中缺少 ≤
!
有两个问题:
首先,我在新应用程序中使用 iTextSharp 5.3.0,我将其更改为 5.2.0。
其次,Kendo UI 编辑器输出 ≤ as ≤
我不得不使用以下方式更改它:
if (recomm.Contains("≤")){
recomm = recomm.Replace("≤", "≤");
};
我已将我的 MVC 4 应用程序升级到 MVC 5,并从 Telerik MVC Editor 2011.2.712 升级到 Kendo UI MVC Editor 2018.2.260。我正在使用 iTextSharp 5.5.2 生成 PDF。
当我在旧程序中输入≤7时,它被保存为
<p></p>≤7<p></p>
生成正确的 PDF 输出 ≤7
然而在Kendo中,它被保存为
<p>≤7<br /></p>
PDF 中缺少 ≤
!
有两个问题:
首先,我在新应用程序中使用 iTextSharp 5.3.0,我将其更改为 5.2.0。
其次,Kendo UI 编辑器输出 ≤ as ≤
我不得不使用以下方式更改它:
if (recomm.Contains("≤")){
recomm = recomm.Replace("≤", "≤");
};