<commit_before><g:if test="${flash.error || flash.message || error || message}">
    <div id="error" class="alert alert-dismissable alert-danger">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
        <p>${flash.error?: flash.message?: error ?: message}</p>
    </div>
</g:if><commit_msg>Encode error message, allow beanErrors<commit_after><g:if test="${flash.error || flash.message || beanErrors || error || message}">
    <div id="error" class="alert alert-dismissable alert-danger">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
        ${enc(html:flash.error?: flash.message?: error ?: message)}

        <g:if test="${beanErrors instanceof org.springframework.validation.Errors}">
            <g:renderErrors bean="${beanErrors}" as="list"/>
        </g:if>

    </div>
</g:if>
{'fraction_non_alphanumeric': 0.19955156950672645, 'fraction_numerical': 0.0, 'mean_word_length': 4.284023668639053, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 20, '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': '4735621', 'n_tokens_mistral': 269, 'n_tokens_neox': 260, 'n_words': 54}