aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2015-09-19 09:31:50 +0200
committerXavier Noria <fxn@hashref.com>2015-09-19 09:31:50 +0200
commite110702f6bec3595fdb3b673bebc17bd1c367fdd (patch)
tree1fe94f946685d0cfa94b3ec4c6e6faa839918a72 /guides
parent2e7415bf71b017180d92ac6fdcafe215cc9eddb6 (diff)
parent9b016cff1ad60b40bf161d61577df44e5947d3ab (diff)
downloadrails-e110702f6bec3595fdb3b673bebc17bd1c367fdd.tar.gz
rails-e110702f6bec3595fdb3b673bebc17bd1c367fdd.tar.bz2
rails-e110702f6bec3595fdb3b673bebc17bd1c367fdd.zip
Merge pull request #21673 from ronakjangir47/kindle_guide
Fixed unclosed tags in kindle guide source [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/kindle/layout.html.erb4
-rw-r--r--guides/source/kindle/toc.ncx.erb8
2 files changed, 6 insertions, 6 deletions
diff --git a/guides/source/kindle/layout.html.erb b/guides/source/kindle/layout.html.erb
index f0a286210b..fd8746776b 100644
--- a/guides/source/kindle/layout.html.erb
+++ b/guides/source/kindle/layout.html.erb
@@ -14,12 +14,12 @@
<% if content_for? :header_section %>
<%= yield :header_section %>
- <div class="pagebreak">
+ <div class="pagebreak"></div>
<% end %>
<% if content_for? :index_section %>
<%= yield :index_section %>
- <div class="pagebreak">
+ <div class="pagebreak"></div>
<% end %>
<%= yield.html_safe %>
diff --git a/guides/source/kindle/toc.ncx.erb b/guides/source/kindle/toc.ncx.erb
index 2c6d8e3bdf..5094fea4ca 100644
--- a/guides/source/kindle/toc.ncx.erb
+++ b/guides/source/kindle/toc.ncx.erb
@@ -32,12 +32,12 @@
</navPoint>
<navPoint class="article" id="credits" playOrder="3">
<navLabel><text>Credits</text></navLabel>
- <content src="credits.html">
+ <content src="credits.html"/>
</navPoint>
<navPoint class="article" id="copyright" playOrder="4">
<navLabel><text>Copyright &amp; License</text></navLabel>
- <content src="copyright.html">
- </navPoint>
+ <content src="copyright.html"/>
+ </navPoint>
</navPoint>
<% play_order = 4 %>
@@ -47,7 +47,7 @@
<text><%= section['name'] %></text>
</navLabel>
<content src="<%=section['documents'].first['url'] %>"/>
-
+
<% section['documents'].each_with_index do |document, document_no| %>
<navPoint class="article" id="_<%=section_no+1%>.<%=document_no+1%>" playOrder="<%=play_order +=1 %>">
<navLabel>