Added control over input groupd and wrapping of prepended and appended c...

...ontent if it's an input group