AnsweredAssumed Answered

HTML sanitation rules applied to HTML in submission body

Question asked by Raymond Gruetzmacher on Aug 2, 2018
Latest reply on Aug 2, 2018 by Raymond Gruetzmacher

What are the HTML sanitation rules that get applied to HTML specified in the "submission[body]" parameter for assignment submissions via the Canvas API? The Canvas API documentation on submitting assignments states:

Note this HTML snippet will be sanitized using the same ruleset as a submission made from the Canvas web UI.


I have successfully submitted assignments containing an HTML body via the Canvas API, but I have not been able to locate the mentioned 'ruleset' to determine what types of HTML (and embedded styling) I'm able to send without it being lost.