Escape single quotes in bb_component