Skip to content

Formgrader does display submissions when the notebook includes a # #1990

Description

@mrvillage

Hello!

We're having an issue right now where one of our notebooks contains a hashtag (01 Grammar for #a ≥ #b (NLTK) [4 points]), somewhere along the way in the frontend/backend everything after the first # is being stripped, after doing some debugging it looks like it's on the frontend when encoding the notebook_id in URLs, rather than using encodeURIComponent it just appends the text to the end of the URL resulting in half the assignment name being taken as the HTML anchor (and not sent to the server).

I'm happy to try to create a PR for this but I'm not sure all the places where this problem would be present so would love any guidance or if there's any chance you'd be able to get it fixed.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions