MagicStack / MagicStack/MagicPython

Problems with `{{ }}` below `{% %}`

Open
#28 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
1.4k
Forks
98
PR merge metrics
No merged PRs in 30d

Description

As you can see in the screenshot the first pair of braces is highlighted, but all braces below `{% %}` aren't:

![bildschirmfoto 2015-11-10 um 16 45 38](https://cloud.githubusercontent.com/assets/385566/11066965/976f2f68-87ca-11e5-9168-d4d766c9b162.png)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the highlighting shown in the linked screenshot and inspect the syntax-highlighting rules for nested `{{ }}` and `{% %}` constructs. No files or tests are named; done means brace highlighting remains consistent below the `{% %}` block and the behavior is covered by a relevant regression test if one exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.