LUN-986 -- make smartsnippets embeddable in text plugins