plain text nesting fix