1405/7/13
This commit is contained in:
Vendored
-4
@@ -1,4 +0,0 @@
|
||||
function r(t){return t?t.replace(/\\n/g,`
|
||||
`).replace(/\r\n/g,`
|
||||
`).replace(/\r/g,`
|
||||
`):""}function u(t){return r(t).trim()}function a(t,e=40){if(!t)return{truncated:"",full:"",isTruncated:!1};const n=u(t);return n.length<=e?{truncated:n,full:n,isTruncated:!1}:{truncated:n.substring(0,e),full:n,isTruncated:!0}}export{u as n,a as t};
|
||||
Reference in New Issue
Block a user