mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-16 05:20:25 +01:00
Reword the isBareText and adfNodes comments
This commit is contained in:
@@ -327,7 +327,7 @@ function isTextBreak(item: Inline): item is TextBreak {
|
||||
return 'kind' in item && item.kind === 'textBreak'
|
||||
}
|
||||
|
||||
// The nodes the items hold, own-marks ones unwrapped and text breaks dropped.
|
||||
// The nodes the items hold, with text breaks dropped.
|
||||
function adfNodes(items: readonly Inline[]): AdfNode[] {
|
||||
const nodes: AdfNode[] = []
|
||||
for (const item of items) {
|
||||
|
||||
Reference in New Issue
Block a user