Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify markdown preview #1647

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Conversation

hennevogel
Copy link
Member

@hennevogel hennevogel commented Sep 23, 2024

  • Do not let unauthenticated people render a markdown preview
  • Remove Haml::Filters monkey patch, it just replaces some text. Do that in a MarkdownHelper instead.
  • Do not render markdown with MarkdownHelper, use a haml partial instead

There is no need to have this in the markdown source...
@hennevogel hennevogel force-pushed the refactoring/md-parsing branch 2 times, most recently from b3893e3 to 5f9f7f6 Compare September 23, 2024 16:10
- Do not let unauthenticated people render a markdown preview
- Remove Haml::Filters monkey patch, it just replaces some text.
  Do that in a MarkdownHelper instead.
- Do not render markdown with MarkdownHelper, use a haml partial instead
@danidoni danidoni merged commit 0f395ad into SUSE:master Sep 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants