Syntax highlighting incorrect when using tick; Alphabet'First
Open
Nobody has claimed this yet.
enhancement
website infrastructure
- Dominant language
- Ada
- Stars
- 117
- Forks
- 49
- Avg merge
- 44m
- Merged PRs (30d)
- 8
Description
On the frontpage the following line of code is incorrectly highlighted:
Put_Line ("Learning Ada from " & Alphabet'First & " to " & Alphabet'Last);
The text between the two single quotes is green, as if this is a string literal.
Contributor guide
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.
Research direction
Start at the frontpage and reproduce the highlighting for Alphabet'First in the shown Ada line. Trace the frontpage's syntax-highlighting setup, then verify that the text between the single quotes is no longer treated as a string literal.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100