#348 Check for content before replacing placeholder