X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/73426ea3838a2f92f5b766b51e017d529c456471..adce63ea6d872ae9a9034218ef4395b8417b12d9:/app/models/report.rb diff --git a/app/models/report.rb b/app/models/report.rb index 77a967641..1475197fe 100644 --- a/app/models/report.rb +++ b/app/models/report.rb @@ -36,4 +36,8 @@ class Report < ApplicationRecord else %w[other] end end + + def details + RichText.new("markdown", self[:details]) + end end