Fix bug: inner placeholders are not rendered when 'then' function is called.
Update version to 1.3.1.
Merge branch 'release/1.3.1'