Allow HTML in custom taxonomy description, and show it on front end

So after some coding, and some testing and stuff I finally got it working. I noticed that the Term description was being stored in the database as escaped HTML entities (<br>), which means WordPress is storing the <br> tags as text, not as actual HTML.

So I wrote some code to decode the HTML entities to actually bring back the proper
tags!

<?php
// Temporarily remove all filters on term_description
remove_all_filters('term_description');

// Get terms associated with the post
$terms = get_the_terms(get_the_ID(), 'locatie'); 
if ($terms && !is_wp_error($terms)) :
    foreach ($terms as $term) :
        // Decode HTML entities to get actual <br> tags
        $decoded_description = html_entity_decode($term->description);
        ?>
        <p>
            <b><?php echo esc_html($term->name); ?></b><br>
            <?php echo wp_kses_post($decoded_description); ?><br>
            <?php echo esc_html($term->adresveld); ?>
        </p>
    <?php endforeach;
endif;

// Re-add the filters for term_description if needed
add_filter('term_description', 'wpautop');
?>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)