]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_markdown_help.html.erb
Don't display a box at all if the note event doesn't include a comment body
[rails.git] / app / views / site / _markdown_help.html.erb
index 07035477e78d9e72b9aa5c56cd0a8dad9dcaac9d..7c5639912b37c082e29ec42af5f27beba095035e 100644 (file)
@@ -1,25 +1,25 @@
 <h4 class='heading'><%= t "site.markdown_help.title_html" %></h4>
 <ul>
-  <li class='clearfix'>
+  <li>
     <h4><%= t "site.markdown_help.headings" %></h4>
-    <span># <%= t "site.markdown_help.heading" %></span>
-    <span>## <%= t "site.markdown_help.subheading" %></span>
+    <p># <%= t "site.markdown_help.heading" %><br>
+       ## <%= t "site.markdown_help.subheading" %></p>
   </li>
-  <li class='clearfix'>
+  <li>
     <h4><%= t "site.markdown_help.unordered" %></h4>
-    <span>* <%= t "site.markdown_help.first" %></span>
-    <span>* <%= t "site.markdown_help.second" %></span>
+    <p>* <%= t "site.markdown_help.first" %><br>
+       * <%= t "site.markdown_help.second" %></p>
   </li>
-  <li class='clearfix'>
+  <li>
     <h4><%= t "site.markdown_help.ordered" %></h4>
-    <span>1. <%= t "site.markdown_help.first" %></span>
-    <span>2. <%= t "site.markdown_help.second" %></span>
+    <p>1. <%= t "site.markdown_help.first" %><br>
+       2. <%= t "site.markdown_help.second" %></p>
   </li>
-  <li class='clearfix'>
+  <li>
     <h4><%= t "site.markdown_help.link" %></h4>
     <span>[<%= t "site.markdown_help.text" %>](<%= t "site.markdown_help.url" %>)</span>
   </li>
-  <li class='clearfix'>
+  <li>
     <h4><%= t "site.markdown_help.image" %></h4>
     <span>![<%= t "site.markdown_help.alt" %>](<%= t "site.markdown_help.url" %>)</span>
   </li>