fix for invalid line break in header_footer.py
I had a problem with invalid line break conversion. It all boils down to this code fragment:
worksheet/header_footer.py, line 195:
txt = SUBS_REGEX.sub(replace, txt)
return escape(txt)
escape() function call replaces newline character with x000a
the quick and dirty fix is as follows:
return escape(txt).replace("_x000a_", "\n")
though arguably there could be a better way, like providing exclusion chars to escape() ?