UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

2 lines 289 B
import{generateHTML as e,generateText as t}from"@lucidcms/rich-text/server";const n=n=>{if(!n)return{value:null,text:null,html:null};let r=t(n).trim();return r?{value:n,text:r,html:e(n)}:{value:null,text:null,html:null}};export{n as default}; //# sourceMappingURL=normalize-comment.mjs.map