forked from mtcontrib/homedecor_modpack
		
	Fix word wrapping
This commit is contained in:
		@@ -333,7 +333,7 @@ local function split_lines_and_words(text)
 | 
			
		||||
	if not text then return end
 | 
			
		||||
	local lines = { }
 | 
			
		||||
	for _, line in ipairs(text:split("\n")) do
 | 
			
		||||
		table.insert(lines, { line })
 | 
			
		||||
		table.insert(lines, line:split(" "))
 | 
			
		||||
	end
 | 
			
		||||
	return lines
 | 
			
		||||
end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user