gajus / gajus/dindent

Incorrect line break inside attribute value

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
179
Forks
30
PR merge metrics
No merged PRs in 30d

Description

`Label`
translates to this:
```
\n
\n
Label\n

```
The expected output should be:
```
\n
\n
Label\n

```

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. Reproduce the shown input and compare the formatter's handling of line breaks inside attribute values with breaks between elements; done means the attribute remains on one line while the expected element indentation is preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.