Modification of the custom behaviour for HTML online publication