ActionsParser refactor

It is not happening with List nodes. Only happening with Paragraph nodes. But anyway, I will checking for `\n` at the end and add it.