mdc/lib/rendering/renderer_html_note.rb
##
# Print the first 10 tags.
# @param [String[]] tags the tags
# @return [String] the tags in HTML form
Print the first 10 tags.
Print the first 10 tags .
def print_tags(tags)
      result = ''
      count = 0
      tags.each do |t|
        result << "<span class='tag'>#{t}</span>"
        count += 1
        break if count > 10
      end
      result
    end
def print_tags ( tags ) result = '' count = 0 tags . each do | t | result << "<span class='tag'>#{t}</span>" count += 1 break if count > 10 end result end
Print the first 10 tags.
Print the first 10 tags .
the tags in HTML form
the tags in HTML form
String
tags
<not_specific>
]
<not_specific>
tags the tags
tags the tags