implements change from bbcodes package.