@@ -244,7 +244,7 @@ function makeParaContentToLookLikeNPDisplayInReact(thisItem: TSectionItem, trunc
244244
245245 // Display underline with .underlined style
246246 output = convertUnderlinedToHTML ( output )
247- logDebug ( 'makeParaContent...' , `- after convertUnderlinedToHTML: ${ output } ` )
247+ // logDebug('makeParaContent...', `- after convertUnderlinedToHTML: ${output}`)
248248
249249 // Add suitable colouring to 'arrow' >date< items
250250 // (Needs to go before match on >date dates)
@@ -269,14 +269,14 @@ function makeParaContentToLookLikeNPDisplayInReact(thisItem: TSectionItem, trunc
269269 for ( const capture of captures ) {
270270 output = output . replace ( capture , `<span style="color: var(--tint-color);">${ capture } </span>` )
271271 }
272- logDebug ( 'makeParaContent...' , `- after colouring >dates: ${ output } ` ) // ✅
272+ // logDebug('makeParaContent...', `- after colouring >dates: ${output}`)
273273 }
274274
275275 // Truncate the HTML string if wanted (avoiding breaking in middle of HTML tags)
276276 // Note: Best done before the note link is added
277277 if ( truncateLength > 0 && origContent . length > truncateLength ) {
278278 output = truncateHTML ( output , truncateLength , true )
279- logDebug ( 'makeParaContent...' , `- after truncate HTML (len ${ truncateLength } , true) ${ output } ` ) // ❌ adds weird ellipses after most <a>...</a> tags
279+ // logDebug('makeParaContent...', `- after truncate HTML (len ${truncateLength}, true) ${output}`)
280280 }
281281
282282 // Replace [[notelinks]] with HTML equivalent, and coloured
0 commit comments