Error color for discourse_publish_format_html

I finally caught an error in green

If you want to duplicate that error, this is what I’m trying to do:

		if ( has_post_thumbnail( $post_id ) ) {
			$image = get_the_post_thumbnail( $post->ID, 'medium' );
		} else {
			$image = "";
		} ?>

EDIT: The mistake was the ?> at the end of the above code