markerb is dead and isn't compatible with rails 6 anymore. Removing it means adding separate templates for text and html, this sadly means some code duplication, but also luckily the templates aren't that complicated, so the duplication is also very minimal.
10 lines
287 B
Text
10 lines
287 B
Text
- if @notification.post.public?
|
|
%p
|
|
= post_message(@notification.post, process_newlines: true)
|
|
- else
|
|
%p
|
|
= t("notifier.mentioned.limited_post")
|
|
|
|
%p
|
|
= link_to t("notifier.comment_on_post.reply", name: @notification.post.author_first_name),
|
|
post_url(@notification.post)
|