Thread:VisualEditor/Feedback/Visual Editor Programming: No around html tags please

Hello! I want to develop a VE gadget which wraps the selected Text with a ... . I found out how to replace the text. But the editor puts a nowiki-tag around my replacement. How can I prevent this? Greetings, Till-Jonas