Closed eatyourgreens closed 3 months ago
Markdown should be parsed and rendered as HTML.
Components show the raw Markdown string. This is the default behaviour in markdownz when the JS errors. https://github.com/zooniverse/markdownz/blob/0c2db1ad8a692fd9d677b95342691929544b0a0d/src/lib/utils.js#L93-L98
markdownz
A Talk comment.
A field guide entry.
In debugging mode, the Markdown component shows the error message:
Markdown
e.propertyIsEnumerable is not a function. (In 'e.propertyIsEnumerable(t)', 'e.propertyIsEnumerable' is undefined)
The stack trace shows that error is thrown in polyfill.min.js, which should really be removed (#7051.)
polyfill.min.js
Expected behavior
Markdown should be parsed and rendered as HTML.
Current behavior
Components show the raw Markdown string. This is the default behaviour in
markdownz
when the JS errors. https://github.com/zooniverse/markdownz/blob/0c2db1ad8a692fd9d677b95342691929544b0a0d/src/lib/utils.js#L93-L98Screenshots in Safari 17.3
A Talk comment.
A field guide entry.
Additional information
In debugging mode, the
Markdown
component shows the error message:The stack trace shows that error is thrown in
polyfill.min.js
, which should really be removed (#7051.)