I am tugging some data using the WPDB class in Wordpress, however - the information has been retrieved as raw data, with no markup.

How do i instantly add this markup?

Ought to be $text = apply_filters( 'the_content', $text ); — one underscore.

First got it :)

$text = apply___filters('the_content', $text);

See reference at wp-includes/formatting.php