Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ronn/document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def html_filter_inject_name_section
elsif name
"<h2>NAME</h2>\n" +
"<p class='man-name'>\n <code>#{name}</code>" +
(tagline ? " - <span class='man-whatis'>#{tagline}</span>\n" : "\n") +
(tagline ? " &mdash; <span class='man-whatis'>#{tagline}</span>\n" : "\n") +
"</p>\n"
end
if markup
Expand Down
2 changes: 1 addition & 1 deletion lib/ronn/template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def title
if !name_and_section? && tagline
tagline
else
[page_name, tagline].compact.join(' - ')
[page_name, tagline].compact.join(' &mdash; ')
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/ronn/template/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta http-equiv='content-type' value='text/html;charset=utf8'>
<meta name='generator' value='{{ generator }}'>
<title>{{ title }}</title>
<title>{{{ title }}}</title>
{{{ stylesheet_tags }}}
</head>
<!--
Expand Down