Fix a bug for Smarty insert br tags modifier plugin

Signed-off-by: Kaoru Ishikura <ishikura@sakura-creative.com>