feat #714 custom padding for the `pad` modifier

Now the `pad` modifier accepts third parameter which is the padding
string. By default it's `&nbsp;` if not provided.

Close #714. Close #724.