INGInious / INGInious/problems-blockly

Use the new json function in INGInious templates

Offen
#18 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
2
Forks
4
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

This line will fail if there is a tag into the json:
https://github.com/Maxmawt/INGInious-problems-blockly/blob/master/inginious-problems-blockly/templates/box_blockly.html#L10

Let's fix it using the new json() function introduced by https://github.com/UCL-INGI/INGInious/pull/337
(wait until the PR is merged, of course ;-))

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Inspect templates/box_blockly.html around line 10 and read the referenced INGInious PR introducing json(). Update the template's JSON handling there, then verify that data containing a tag renders safely without breaking the template.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.