fix(ui): align trajectory checks with inspection ledger
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Markdown-to-plain-text projection for compact summaries and labels.
|
||||
* Parsing shares the renderer's GFM grammar; raw HTML remains literal, links
|
||||
* Parsing shares the renderer's GFM grammar; raw HTML is omitted, links
|
||||
* keep their labels, images keep alt text, and code keeps its source text.
|
||||
*/
|
||||
|
||||
@@ -36,7 +36,7 @@ function inlineText(node: MarkdownNode): string {
|
||||
case 'break':
|
||||
return '\n'
|
||||
case 'html':
|
||||
return node.value ?? ''
|
||||
return ''
|
||||
case 'thematicBreak':
|
||||
case 'definition':
|
||||
return ''
|
||||
@@ -70,7 +70,7 @@ function blockText(node: MarkdownNode): string {
|
||||
case 'tableCell':
|
||||
return compactInline(inlineText(node))
|
||||
case 'html':
|
||||
return node.value?.trim() ?? ''
|
||||
return ''
|
||||
case 'thematicBreak':
|
||||
case 'definition':
|
||||
return ''
|
||||
|
||||
Reference in New Issue
Block a user