import re


def split_spans(text):
	"""Processes html text splitting spans by a newline character.

	Args:
		text (string): html text that is going to be processed.

	Returns:
		string: text once it's processed.
	"""
	p1 = re.compile(r'(>)(<span)', re.MULTILINE | re.UNICODE)
	processed_text = p1.sub(r'\1\n\2',text)
	return processed_text