fix coding style

Break a line before '{'.
Additionally, change a 'sentence' to '文', because '文' is used in the
previous code block.