You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO well, it's not good. can be improved with lodash
constconfig={
params,name: 'paragraph',// debug: true,};// console.log(config);constreplaced=commonReplaceReact(config);constresult=newLine+replaced+newLine;returnresult;}/// !end function is not working as plannedfunction_image(text,alt,srcWithTooltip){constsrc=srcWithTooltip.trim().replace(/\"image_tooltip\"/,'');constparams={src: src.trim(),altText: alt,};constconfig={
params,name: 'image',debug: true,};this.warnings.images+=1;constreplaced=commonReplaceReact(config);returnreplaced;}function_br(text,newLines){constarrNewLines=newLines.match(newRegExp(newLine,'g'));// TODO well, it's not good. can be improved with lodash// I REALLY HATE THIS LINEconstresult=arrNewLines.reduce((acc,current,index)=>(index>0 ? `${acc}<br/>${current}` : current),'',
The text was updated successfully, but these errors were encountered:
I REALLY HATE THIS LINE
markdown-to-email/src/callbacksReact/methods/callbacks.js
Line 57 in 54325ce
The text was updated successfully, but these errors were encountered: