##// END OF EJS Templates
Hide paragraph terminator at the end of headings on html export (#4194)....
Jean-Philippe Lang -
r2912:858f5cbf0732
parent child
Show More
@@ -1,18 +1,21
1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3 3 <head>
4 4 <title><%=h @page.pretty_title %></title>
5 5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6 6 <style>
7 7 body { font:80% Verdana,Tahoma,Arial,sans-serif; }
8 8 h1, h2, h3, h4 { font-family: "Trebuchet MS",Georgia,"Times New Roman",serif; }
9 9 ul.toc { padding: 4px; margin-left: 0; }
10 10 ul.toc li { list-style-type:none; }
11 11 ul.toc li.heading2 { margin-left: 1em; }
12 12 ul.toc li.heading3 { margin-left: 2em; }
13 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
14 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
15 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
13 16 </style>
14 17 </head>
15 18 <body>
16 19 <%= textilizable @content, :text, :wiki_links => :local %>
17 20 </body>
18 21 </html>
@@ -1,27 +1,34
1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3 3 <head>
4 4 <title><%=h @wiki.project.name %></title>
5 5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6 6 <style>
7 7 body { font:80% Verdana,Tahoma,Arial,sans-serif; }
8 8 h1, h2, h3, h4 { font-family: "Trebuchet MS",Georgia,"Times New Roman",serif; }
9 ul.toc { padding: 4px; margin-left: 0; }
10 ul.toc li { list-style-type:none; }
11 ul.toc li.heading2 { margin-left: 1em; }
12 ul.toc li.heading3 { margin-left: 2em; }
13 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
14 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
15 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
9 16 </style>
10 17 </head>
11 18 <body>
12 19
13 20 <strong><%= l(:label_index_by_title) %></strong>
14 21 <ul>
15 22 <% @pages.each do |page| %>
16 23 <li><a href="#<%= page.title %>"><%= page.pretty_title %></a></li>
17 24 <% end %>
18 25 </ul>
19 26
20 27 <% @pages.each do |page| %>
21 28 <hr />
22 29 <a name="<%= page.title %>" />
23 30 <%= textilizable page.content ,:text, :wiki_links => :anchor %>
24 31 <% end %>
25 32
26 33 </body>
27 34 </html>
General Comments 0
You need to be logged in to leave comments. Login now