summaryrefslogtreecommitdiff
path: root/lib/rdoc/generators/template
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/generators/template')
-rw-r--r--lib/rdoc/generators/template/html/html.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rdoc/generators/template/html/html.rb b/lib/rdoc/generators/template/html/html.rb
index 72e57baa3a..6bbde46000 100644
--- a/lib/rdoc/generators/template/html/html.rb
+++ b/lib/rdoc/generators/template/html/html.rb
@@ -529,7 +529,12 @@ IF:attributes
START:attributes
<tr class="top-aligned-row context-row">
<td class="context-item-name">%name%</td>
+IF:rw
<td class="context-item-value">&nbsp;[%rw%]&nbsp;</td>
+ENDIF:rw
+IFNOT:rw
+ <td class="context-item-value">&nbsp;&nbsp;</td>
+ENDIF:rw
<td class="context-item-desc">%a_desc%</td>
</tr>
END:attributes