in lib/licensee/content_helper.rb [176:193]
def self.wrap(text, line_width = 80)
return if text.nil?
text = text.clone
text.gsub!(REGEXES[:bullet]) { |m| "\n
text.gsub!(/([^\n])\n([^\n])/, '\1 \2')
text = text.split("\n").collect do |line|
if line =~ REGEXES[:hrs] || line.length <= line_width
line
else
line.gsub(/(.{1,
end
end * "\n"
text.strip
end