manalang-bdoc 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +6 -0
- data/lib/bdoc.rb +1 -1
- data/templates/index.html +3 -4
- metadata +1 -1
data/History.txt
CHANGED
data/lib/bdoc.rb
CHANGED
data/templates/index.html
CHANGED
|
@@ -62,6 +62,7 @@ body { background: #aaa }
|
|
|
62
62
|
}
|
|
63
63
|
#nav .gemname {
|
|
64
64
|
font-size:1.2em;
|
|
65
|
+
white-space:nowrap;
|
|
65
66
|
}
|
|
66
67
|
#nav span.gemname {
|
|
67
68
|
color:#aaa;
|
|
@@ -84,9 +85,7 @@ body { background: #aaa }
|
|
|
84
85
|
width:100%;
|
|
85
86
|
height:100%;
|
|
86
87
|
}
|
|
87
|
-
.gem {
|
|
88
|
-
white-space:nowrap;
|
|
89
|
-
}
|
|
88
|
+
.gem {}
|
|
90
89
|
#current a {
|
|
91
90
|
font-weight:bold;
|
|
92
91
|
}
|
|
@@ -154,7 +153,7 @@ body { background: #aaa }
|
|
|
154
153
|
<% @gems.each do |gem| %>
|
|
155
154
|
<span class="gem">
|
|
156
155
|
<% if gem[:versions].last[:rdoc_index] %>
|
|
157
|
-
<a href="<%= gem[:versions].last[:rdoc_index] %>" class="gemname" title="<%= gem[:description] %>" rel="<%= gem[:homepage] %>"><%= gem[:name] %></a>
|
|
156
|
+
<a href="<%= gem[:versions].last[:rdoc_index] %>" class="gemname" title="<%= ERB::Util.h gem[:description] %>" rel="<%= gem[:homepage] %>"><%= gem[:name] %></a>
|
|
158
157
|
<% else %>
|
|
159
158
|
<span class="gemname quiet" title="<%= gem[:description] %>">*<%= gem[:name] %></span>
|
|
160
159
|
<% end %>
|