import re


def remove_blank_lines(text):
	"""Removes blank lines from the document.

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

	Returns:
		string: text once it is processed.
	"""
	blank_line_regex = re.compile(r'^\s+$', re.UNICODE | re.MULTILINE)
	processed_text = blank_line_regex.sub(r'', text)
	return processed_text