[HTML] Code formatting destroys structure
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 17 + 18
### What happened
For example I have these line of code
```
If i use code formatting for html, then my vue and/or typo3 fluid syntax will break and I cant find any settings to prevent this to become this:
```
### How to reproduce
Everytime if you use ALT + Shift + F
### Did this work correctly in an earlier version?
Apache NetBeans 12
### Operating System
Windows 11
### JDK
Microsoft Build of OpenJDK mit Hotspot 11.0.17+8 (x64)
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
Contributor guide
Research direction
Reproduce the issue in the HTML formatter using the provided Vue/Typo3 Fluid snippet and ALT + Shift + F, comparing Apache NetBeans 17/18 with NetBeans 12. Done means formatting no longer breaks the embedded syntax or structure shown in the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100