Amendments to Html converter and different wrapping tags

1) making Html converter configurable
2) selecting wrapper tag in cleaner depending on allowed elements
not obvious. comment required