XML syntax highlighting breaks if empty tag contains whitespace before close
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Reproduce the problem in micro with the two XML examples, comparing an empty tag with and without whitespace before the closing slash. Then locate the XML syntax-highlighting implementation and its related tests. Done means both forms receive correct highlighting without regressing the existing example.
Written by the indexing model from the issue text.
Description
Description
XML syntax highlighting handles <tagname attr="text"/> fine, but is borked by <tagname attr="text" />.
Environment
- Version: 2.0.15 (6a62575b)
- OS: Archlinux
- Terminal: alacritty
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from micro-editor/micro
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
micro-editor/micro#3553 · 5 comments ·
-
syntax
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
micro-editor/micro#2969 · 3 comments · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
micro-editor/micro#2494 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
micro-editor/micro#2418 ·
-
feature
Difficulty 4/5 3-5 days Newbie friendliness 48/100
micro-editor/micro#4230 · 5 comments ·
All issues in micro-editor/micro
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100