Wrong indentation for svg Elements
- Dominant language
- PHP
- Stars
- 179
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
I'm not sure if dindent is made to support svg structures as well, but some svg elements are not correctly indented.
For example:
```html
```
gets indented to
```html
```
basically the same Problem as #19 but this time with the use tag. Maybe is should be configurable wich elements are implicit self closing, if svg support is not desirable.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with the provided button, svg, and use markup, then inspect the indentation path that handles SVG elements and the use tag. Confirm the intended behavior for these elements, including whether implicit self-closing elements should be configurable, and verify that the resulting HTML is correctly indented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100