1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update a tag for missing <dl> in guides

The errors below heppens in executing `bundle exec rake
guides:validate`.

```
$ bundle exec rake guides:generate:html
(snip)
$ bundle exec rake guides:validate
(snip)
  ./output/active_record_querying.html has 57 validation error(s):

    ERROR; line 55: Element “dt” not allowed as child of element
    “div” in this context. (Suppressing further errors from this
    subtree.)
(snip)
```
This commit is contained in:
Takayuki Nakata 2019-11-15 10:02:18 +09:00
parent c764f675ac
commit 53eafca8e9

View file

@ -52,7 +52,7 @@
<a href="index.html" id="guidesMenu" class="guides-index-item nav-item">Guides Index</a>
<div id="guides" class="clearfix" style="display: none;">
<hr />
<div class="guides-section-container">
<dl class="guides-section-container">
<% documents_by_section.each do |section| %>
<div class="guides-section">
<dt><%= section['name'] %></dt>
@ -61,7 +61,7 @@
<% end %>
</div>
<% end %>
</div>
</dl>
</div>
</li>
<li><a class="nav-item" href="contributing_to_ruby_on_rails.html">Contribute</a></li>