aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-10-27 16:51:07 +0100
committerhellekin <hellekin@cepheide.org>2020-10-27 19:37:48 +0100
commitc3f4936dbb524237d1e3d465d2301627758c2180 (patch)
treee796b0737552927ad393e35d57da3884a1adbde6 /app/views
parent8110b287a1b406ecffa6e8321b9048542f4d5ff1 (diff)
downloadincommon-map-c3f4936dbb524237d1e3d465d2301627758c2180.tar.gz
Add Markdown to format Resource.description
Diffstat (limited to 'app/views')
-rw-r--r--app/views/resources/_resource.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/resources/_resource.html.erb b/app/views/resources/_resource.html.erb
index 585bed8..2debec2 100644
--- a/app/views/resources/_resource.html.erb
+++ b/app/views/resources/_resource.html.erb
@@ -5,7 +5,7 @@
<time datetime="<%= h resource.updated_at %>" class="updated_at">
<p class="identifier"><%= resource_url(resource) %></p>
</header>
- <div><%= h resource.description %></div>
+ <%= m resource.description %>
<hr>
<code><pre><%= h JSON.pretty_generate(resource.feature.as_json) %></pre></code>
<p>... <%= session[:current_agent] %>...</p>