# File lib/html5/filters/validator.rb, line 452 def parse_token_list(value) valueList = [] currentValue = '' (value + ' ').each_byte do |b| c = [b].pack('c*') if HTML5::SPACE_CHARACTERS.include?(c) if currentValue.length > 0 valueList << currentValue currentValue = '' end else currentValue += c end end if currentValue.length > 0 valueList << currentValue end valueList end