Plugin does not work in a Custom HTML Module

Check that you enabled the Prepare Content option in the Module options. Unless this option is enabled, the module will not resolve plugins.