View: improvements

Only clean template string one time
Allow user to define a tab indent
Cleaned comment