Skip to content

Cannot escape text looking like an object #655

@apapsch

Description

@apapsch

Describe the Bug

If text includes a colon, the text is parsed as an object. It doesn't help wrapping the text in quotation marks or adding backslash or space before the colon.

Environment

  • Linux
  • Nue 2.0.0-beta.2 • Bun 1.2.16

Minimal Reproduction

<p :is="block">
  <span :each="line, i in lines">
    { line }
    <br :if="i < lines.length-1">
  </span>
</p>

[block]
  lines:
    - "Telephone: 00000000"

This will show as [object Object] instead of Telephone: 00000000.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions