Closed fghaas closed 3 years ago
Yes we did discuss that at one point, though we didn't come to a good conclusion of whether we wanted course authors to be able to both restrict and relax the system-wide setting, or to only restrict it. I still don't have a good answer for that.
If it's OK with you I'd merge this PR now, and then we can revisit the attribute question separately. Does that sound reasonable?
Sounds good to me, thanks!
Ack. I've made one more edit to the README
and added a reno, will proceed to merge now.
In Markdown2,
safe_mode
is actually a string, currently supporting the valuesreplace
andescape
. Support for the Boolean value is only maintained for compatibility with Markdown, a Boolean value ofTrue
is equivalent toreplace
.Retain the default of
replace
, but add the ability to also setescape
. Also, interpretTrue
as equivalent to 'replace', andFalse
orNone
(and the empty string) to mean to disable safe mode.Add test cases for all of the above. Also, add a GitHub Actions workflow.