[openstreetmap/openstreetmap-website] Format report text with kramdown (9401e45)

Anton Khorev notifications at github.com
Tue May 17 14:18:47 UTC 2022


    <p class="richtext text-break"><%= report.details.to_html %></p>

This wraps richtext paragraphs from report.details.to_html in another paragraph. Browsers usually interpret this as blank paragraphs before and after the actual report.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/commit/9401e451d18d34ad8fd27161e66496171dbed54f#commitcomment-73854711
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/commit/9401e451d18d34ad8fd27161e66496171dbed54f/73854711 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220517/a7f69ca8/attachment.htm>


More information about the rails-dev mailing list