As ACF doesn’t use the general WP the_content filter but has it’s own filter (‘acf_the_content’) I thought this is an ACF related question. The script you linked above works fine – in none ACF content fields but not in ACF. Even if I change the filter into ‘acf_the_content’ it’s not working.