mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-19 23:46:10 +01:00
Fix #896. Tidied styling of notes (attached to action and free-standing project notes) so that basic Textile markup shows up and looks attractive. You can now use *bold*, _italics_, ordered lists (#), unordered lists (*), and H1 (h1.) and H2 (h2.) headers can all be used, along with Textile links.
This commit is contained in:
parent
5de81825ca
commit
e26949e8f6
2 changed files with 36 additions and 14 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<% note = notes -%>
|
||||
<div id="<%= dom_id(note, 'container') %>">
|
||||
<h2><%= link_to("Note #{note.id}", note_path(note), :title => "Show note #{note.id}" ) %></h2>
|
||||
<div id="<%= dom_id(note) %>">
|
||||
<div class="project_notes" id="<%= dom_id(note) %>">
|
||||
<%= sanitize(markdown(auto_link(note.body))) %>
|
||||
|
||||
<div class="note_footer">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue