Fix that extra line break is added when using global modifier in dynamic publishing. bugid:110945