<commit_before>
<div class="ruleXmlArea">

    <div class='ruleXml'>${ruleAsXml.encodeAsHTML().replaceAll("&lt;(.*?)&gt;", "<span class='xmlTag'>&lt;\$1&gt;</span>")}</div>

    <g:form style="margin-top: 8px" controller="ruleEditor" action="expert" method="post"><commit_msg>use 'pre' so indentation is kept when the XML is copied<commit_after>
<div class="ruleXmlArea">

    <pre class='ruleXml'>${ruleAsXml.encodeAsHTML().replaceAll("&lt;(.*?)&gt;", "<span class='xmlTag'>&lt;\$1&gt;</span>")}</pre>

    <g:form style="margin-top: 8px" controller="ruleEditor" action="expert" method="post">
{'fraction_non_alphanumeric': 0.23905723905723905, 'fraction_numerical': 0.006734006734006734, 'mean_word_length': 7.6231884057971016, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6319740', 'n_tokens_mistral': 213, 'n_tokens_neox': 208, 'n_words': 35}