X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/73426ea3838a2f92f5b766b51e017d529c456471..f73b7205f42ac690ee659f4a92d86a56138a7ea2:/app/models/report.rb?ds=sidebyside 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