Skip to content

Equality between contents containing raw text fails #6559

@damienflament

Description

@damienflament

Description

While trying to test function output using assert.eq() I discovered that testing for equality between two contents containing raw text fails.

#repr([foobar] == [foobar])

#repr([`foo`] == [`foo`])

#repr([foo`bar`] == [foo`bar`])

outputs:

true

false

false

Operating system

Linux 6.15.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 10 Jun 2025 21:32:33 +0000 x86_64 GNU/Linux

Typst version

0.13.1 (8ace67d)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions