You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm the maintainer of a different md editor (very different in scope though), and dealing with secure HTML rendering I stumbled upon your project and got curious on how this issue is tackled in ghostwriter. AFAIK the default renderer (cmark-gfm) handles this very nicely, but even when selecting other renderers such as pandoc the preview ignores things such as javascript scripts. I couldn't find in the source where the produced HTML is sanitized, so I'm honestly curious on what was your approach. Thanks for the insights
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm the maintainer of a different md editor (very different in scope though), and dealing with secure HTML rendering I stumbled upon your project and got curious on how this issue is tackled in ghostwriter. AFAIK the default renderer (cmark-gfm) handles this very nicely, but even when selecting other renderers such as pandoc the preview ignores things such as javascript scripts. I couldn't find in the source where the produced HTML is sanitized, so I'm honestly curious on what was your approach. Thanks for the insights
Beta Was this translation helpful? Give feedback.
All reactions