mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
8cac92dd11
Fix title for plain view - remove <a href=> tag from title.
19 lines
505 B
Text
19 lines
505 B
Text
<!DOCTYPE html>
|
|
<html lang="<%=SiteSetting.default_locale%>">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title><%= @topic_view.topic.title %></title>
|
|
</head>
|
|
<body>
|
|
<% @topic_view.posts.each do |post| %>
|
|
<% if post.user %>
|
|
<div>
|
|
#<%=post.post_number%> <%= t 'by'%>: <b><%= post.user.name %></b>, <%= post.created_at.to_formatted_s(:long_ordinal) %>
|
|
</div>
|
|
<div>
|
|
<%= post.cooked.html_safe %>
|
|
</div>
|
|
<hr/>
|
|
<% end %>
|
|
<% end %>
|
|
</body>
|