code refactoring; now retaining tags (anchor tags, strong, ... if any) so they wont be lost after layout