Fixed the Content-negotiation for sending XHTML.

Fixed a non-well-formed page.
Maruku's metadata processing seems to be busted. May have to revert.
This commit is contained in:
Jacques Distler 2007-02-01 17:22:15 -06:00
parent 9cf0b504f1
commit eeef7952c3
2 changed files with 8 additions and 7 deletions

View file

@ -1,11 +1,11 @@
<% @title = "Wiki webs" %>
<br/>
<ul>
<% @webs.each do |web| %>
<li>
<% if web.password %> <div class="web_protected">
<% else %> <div class="web_normal"> <% end %>
<span>
<%= link_to_page 'HomePage', web, web.name, :mode => 'show' %>
<% if web.published? %>
(<%= link_to_page 'HomePage', web, 'published version', :mode => 'publish' %>)
@ -19,7 +19,7 @@
<%= web.last_page.revisions? ? "Revised" : "Created" %> by <%= author_link(web.last_page) %> (<%= web.last_page.current_revision.ip %>)
<% end %>
</div>
</span>
</div><br>
</div>
</li>
<% end %>
</ul>