Check forum.joomlaworks.net/allvideos-%28plugin%29/current-verison-of-custom-code-module/
Easy! When creating a Custom HTML Module, check the Basic Options (in the fields of the right side) in "Prepare Content. (Yes/No)" you need to select "YES" for prepare the content with the Joomla content plugins. 8)
More