Fixed encoding issues with [media]-BBCodes