saltstack/salt — pull request #12522 by creaky (2014-05-04 13:16:06+00:00)
Title: Fix Issue: #12422 blockreplace adding blank lines

file.blockreplace introduced an unwanted final new line when given
multi-line content due to split() behaviour.