diff options
Diffstat (limited to 'lib/rdoc/markup/attr_span.rb')
-rw-r--r-- | lib/rdoc/markup/attr_span.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/markup/attr_span.rb b/lib/rdoc/markup/attr_span.rb index 6fe939fe7d..20ef11cd6d 100644 --- a/lib/rdoc/markup/attr_span.rb +++ b/lib/rdoc/markup/attr_span.rb @@ -17,7 +17,7 @@ class RDoc::Markup::AttrSpan def set_attrs(start, length, bits) updated = false for i in start ... (start+length) - if (@exclusive & @attrs[i]) == 0 + if (@exclusive & @attrs[i]) == 0 || (@exclusive & bits) != 0 @attrs[i] |= bits updated = true end |