Kill trailing whitespace in erb files
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
<div id="c-wiki-pages">
|
||||
<div id="a-show">
|
||||
<%= render "sidebar" %>
|
||||
|
||||
|
||||
<section id="content">
|
||||
<h1 id="wiki-page-title">
|
||||
|
||||
|
||||
<%= @wiki_page.pretty_title %>
|
||||
|
||||
|
||||
<% if @wiki_page.is_locked? %>
|
||||
(locked)
|
||||
<% end %>
|
||||
</h1>
|
||||
|
||||
|
||||
<div id="wiki-page-body" class="prose">
|
||||
<%= format_text(@wiki_page.body) %>
|
||||
|
||||
|
||||
<% if @wiki_page.presenter.antecedent_tag_alias %>
|
||||
<p class="hint">This tag has been aliased to <%= link_to @wiki_page.presenter.antecedent_tag_alias.consequent_name, posts_path(:tags => @wiki_page.presenter.antecedent_tag_alias.consequent_name) %>.</p>
|
||||
<% end %>
|
||||
@@ -23,7 +23,7 @@
|
||||
<p class="hint">The following tags are aliased to this tag: <%= raw @wiki_page.presenter.consequent_tag_aliases.map {|x| link_to(x.antecedent_name, posts_path(:tags => x.antecedent_name))}.join(", ") %>.</p>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="wiki-page-posts">
|
||||
<%= @wiki_page.post_set.presenter.post_previews_html(self) %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user