added support for injectable html fragments