The multi-line string formats in YAML (> and |) add a newline to the end of the string, regardless of whether it's a single line or multiple lines. That causes the plan converter to treat a single line eval as though it were multiple lines, and wrap it in with() unnecessarily. This detection should check for whether the string actually contains multiple lines, not just whether it ends in a newline character. |