Saving post content to database with do_shortcode?

So I found my answer in the codex.

content_save_pre() is my friend. Here is the usage:

function my_sanitize_content( $content ) {
    return do_shortcode($content);
}
add_filter( 'content_save_pre' , 'my_sanitize_content' , 10, 1);

Haven’t tried it yet, it should work I suppose.

error code: 523