RunestoneInteractive / RunestoneInteractive/rs

Assignment view of FITB feedback includes html tags for PTX authored questions

Open
#383 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
69
Forks
117
Avg merge
6d 4h
Merged PRs (30d)
24

Description

On an assignment page, in feedback for Fill in The Blanks are rendered including the html generated by pretext.

Here is feedback on an assignment page:
image

Here it is in context:
image

Source:
https://github.com/ascholerChemeketa/cs160Reader/blob/00978623f69682865831f4731b177d081bb70ca9/pretext/CSPNameNumbers/expression.ptx#L33

If HTML is not allowed in feedback elements we should document that <feedback> in PTX can't have any nested elements.

I am guessing there are use cases where HTML is needed to format the feedback. In that case, we need to figure out how to render it instead of displaying the HTML

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 at the assignment-page feedback entry point for Fill in The Blanks and reproduce the issue with the linked PTX example, especially the nested elements inside . Trace how that feedback reaches the rendered page, then verify that generated tags are no longer shown as text and that the supported behavior for formatted feedback is documented or tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.