Thread:Extension talk:WYSIWYG/Modifications for package 6/reply (5)

I think it is not good idea to build second similar function for this, your approach is better. I have modified function for syntaxhighlight/source tags further, see details here.