Khan / Khan/live-editor

<SCRIPT> tag in uppercase incorrectly generates error

Open
#545 3 comments 0 reactions 0 assignees View on GitHub
bug webpage
Dominant language
JavaScript
Stars
776
Forks
180
PR merge metrics
No merged PRs in 30d

Description

Reported on Zendesk:

> When a student opens the `` tag, they automatically are given a closing script tag `` that matches the case they entered:
>
> `
> `
>
> The upper case closing tag `` immediately generates the error message
>
> "It looks like your `` tag never closes."
>
> The parser does not appear to accept upper case closing tag ``

Replicated, example can be seen on [this project](https://www.khanacademy.org/computer-programming/uppercase-script-tag-error/5220028773695488).

All caps would still be valid HTML for the`` tag, so this should be accepted.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the uppercase case in the linked Khan Academy project, then trace the live editor's HTML parsing and unclosed-tag error path. Done means matching uppercase opening and closing script tags are accepted without the error message.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.