I read this as saying that a Formula inset in a lyx file in lyxformat 216 should not contain any line breaks. Correct?
def merge_formula_inset(lines): i=0 while 1: i = find_token(lines, "\\begin_inset Formula", i) if i == -1: break if lines[i+1] in math_env: lines[i] = lines[i] + lines[i+1] del lines[i+1] i = i + 1 -- Angus