Skip to content

連続するquoteを文字列化した際quote同士が区切られない #175

@GalaxyCat42

Description

@GalaxyCat42

連続したquote要素をtoString関数で文字列にすると、文字列が区切られず一つの長いquoteとして出力されます。

確認に使用したコード

import { QUOTE, TEXT, toString } from "mfm-js"

console.log(toString([
    QUOTE([TEXT("a")]),
    QUOTE([TEXT("b")]),
]))

想定する出力

> a

> b

実際の出力

> a
> b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions