Skip to content

Fix the newline issue in the Chess examples #777

@virajmehta

Description

@virajmehta

Currently minijinja is rendering the newline issues as:

The legal moves are:
- Qh8+
- Qg8+
- Qe8
- Qd8
- Qc8
- Qxb8
- Qxg7#
- Qxf7
- Qe7
- Qd6
- Qc5
- Qb4
- Qa3
- Bxb8
- Bxg7
- Bc7
- Bf6
- Bd6
- Bf4
- Bg3
- Bh2
- Kh2
- Kh1
- Kf1
- h4
- g3
- f3
- g4
- f4What's your next move?

We should fix this to render on the next line (add a single newline I think).

Metadata

Metadata

Assignees

Labels

bugThis issue relates to a bug in TensorZero.good-first-issueThis issue is a good fit for new community contributors and team members.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions