This is actually a bug in XF itself. It only comes up when your editor textarea name is an array key (abc[xyz_html]). The plain textbox would be incorrectly translated to "abc[xyz" (no closing "]"). I've fixed this in 1.2.3. A temporary workaround should be switching back to the RTE before saving or disabling the RTE in your user options.