<commit_before><%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>

<%-- Inserts page content for preview. --%>

   <div class="previewnote">
      <b>This is a PREVIEW!  Hit "back" on your browser to go back to the editor,
      or hit "Save" if you're happy with what you see.</b>
   </div>

   <p><hr /></p>

   <div class="previewcontent">
      <wiki:Translate><%=pageContext.getAttribute("usertext",PageContext.REQUEST_SCOPE)%></wiki:Translate>
   </div>

   <br clear="all" />

   <p><hr /></p>

   <div class="previewnote">
      <b>This is a PREVIEW!  Hit "back" on your browser to go back to the editor,
      or hit "Save" if you're happy with what you see.</b>
   </div>

   <p><hr /></p>

   <form action="<wiki:EditLink format="url" />" method="POST" 
         ACCEPT-CHARSET="<wiki:ContentEncoding />" />
   <p>

   <%-- These are required parts of this form.  If you do not include these,
        horrible things will happen.  Do not modify them either. --%>

   <input type="hidden" name="page"     value="<wiki:PageName/>" />
   <input type="hidden" name="action"   value="save" />
   <input type="hidden" name="edittime" value="<%=pageContext.getAttribute("lastchange", PageContext.REQUEST_SCOPE )%>" />
   <textarea rows="4" cols="20" readonly="true" style="display:none" name="text"><%=pageContext.getAttribute("usertext", PageContext.REQUEST_SCOPE) %></textarea>

   <div id="previewsavebutton" align="center">
      <input type="button" name="edit" value="Keep editing" onClick="javascript:back(-1);"/>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <input type="submit" name="ok" value="Save" />
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <input type="submit" name="cancel" value="Cancel" />
   </div>

   </p>
   </form><commit_msg>Fixes Javascript error.<commit_after><%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>

<%-- Inserts page content for preview. --%>

   <div class="previewnote">
      <b>This is a PREVIEW!  Hit "back" on your browser to go back to the editor,
      or hit "Save" if you're happy with what you see.</b>
   </div>

   <p><hr /></p>

   <div class="previewcontent">
      <wiki:Translate><%=pageContext.getAttribute("usertext",PageContext.REQUEST_SCOPE)%></wiki:Translate>
   </div>

   <br clear="all" />

   <p><hr /></p>

   <div class="previewnote">
      <b>This is a PREVIEW!  Hit "back" on your browser to go back to the editor,
      or hit "Save" if you're happy with what you see.</b>
   </div>

   <p><hr /></p>

   <form action="<wiki:EditLink format="url" />" method="POST" 
         ACCEPT-CHARSET="<wiki:ContentEncoding />" />
   <p>

   <%-- These are required parts of this form.  If you do not include these,
        horrible things will happen.  Do not modify them either. --%>

   <input type="hidden" name="page"     value="<wiki:PageName/>" />
   <input type="hidden" name="action"   value="save" />
   <input type="hidden" name="edittime" value="<%=pageContext.getAttribute("lastchange", PageContext.REQUEST_SCOPE )%>" />
   <textarea rows="4" cols="20" readonly="true" style="display:none" name="text"><%=pageContext.getAttribute("usertext", PageContext.REQUEST_SCOPE) %></textarea>

   <div id="previewsavebutton" align="center">
      <input type="button" name="edit" value="Keep editing" onClick="javascript:history.back();"/>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <input type="submit" name="ok" value="Save" />
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <input type="submit" name="cancel" value="Cancel" />
   </div>

   </p>
   </form>
{'fraction_non_alphanumeric': 0.19027777777777777, 'fraction_numerical': 0.0019444444444444444, 'mean_word_length': 3.725721784776903, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, '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': '364528', 'n_tokens_mistral': 1219, 'n_tokens_neox': 1158, 'n_words': 297}