<commit_before><?php
namespace Epfl\Contact;

require_once 'shortcake-config.php';

function epfl_contact_process_shortcode($atts) {
    // sanitize parameters
    foreach($atts as $key => $value) {
        if ($key == 'introduction' || strpos($key, 'information') !== false)
        {
            $atts[$key] = sanitize_textarea_field($value);
        } else {<commit_msg>Fix escaping richtext for epfl_contact (#708)<commit_after><?php
namespace Epfl\Contact;

require_once 'shortcake-config.php';

function epfl_contact_process_shortcode($atts) {
    // sanitize parameters
    foreach($atts as $key => $value) {
        if (strpos($key, 'information') !== false) {
            $atts[$key] = wp_kses_post($value);
        }
        elseif ($key == 'introduction')
        {
            $atts[$key] = sanitize_textarea_field($value);
        } else {
{'fraction_non_alphanumeric': 0.14788732394366197, 'fraction_numerical': 0.0035211267605633804, 'mean_word_length': 3.1609756097560977, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4155590', 'n_tokens_mistral': 267, 'n_tokens_neox': 258, 'n_words': 52}