Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
silentmoooon committed May 5, 2019
1 parent 390a45f commit 63e8300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClipOne/service/ClipService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public static void HandleClipHtml(ClipModel clip)

clip.ClipValue = htmlStr;
//html内容会固定出现在第16行。
clip.DisplayValue = htmlStr.Split("\r\n".ToCharArray())[16];
clip.DisplayValue = htmlStr.Split("\r\n".ToCharArray())[16].ToLower().Replace("<html>","").Replace("</html>", "").Replace("<div>", "").Replace("</div>", "");
clip.Type = HTML_TYPE;

break;
Expand Down

0 comments on commit 63e8300

Please sign in to comment.