<commit_before><?xml version="1.0" encoding="iso-8859-1"?>
<!--
 ! Stylesheet include for shortcuts icons
 !
 ! $Id$
 !-->
<xsl:stylesheet
 version="1.0"
 xmlns:exsl="http://exslt.org/common"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 xmlns:func="http://exslt.org/functions"
 extension-element-prefixes="func"
>

  <!--
   ! Function to display a serialized date object (date only)
   !
   ! @param  node-set shortcuts
   !-->
  <func:function name="func:shortcuts">
    <xsl:param name="shortcuts"/>

    <func:result>
      <table class="shortcuts">
        <tr>
          <xsl:for-each select="exsl:node-set($shortcuts)/shortcut">
            <td align="middle" valign="top">
              <a href="{@href}">
                <img border="0" src="/image/icons/{@icon}.png"/><br/>
                <xsl:value-of select="."/>
              </a>
            </td>
          </xsl:for-each>
        </tr>
      </table>
    </func:result>
  </func:function>

</xsl:stylesheet><commit_msg>- Supply width and height for shortcut icon<commit_after><?xml version="1.0" encoding="iso-8859-1"?>
<!--
 ! Stylesheet include for shortcuts icons
 !
 ! $Id$
 !-->
<xsl:stylesheet
 version="1.0"
 xmlns:exsl="http://exslt.org/common"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 xmlns:func="http://exslt.org/functions"
 extension-element-prefixes="func"
>

  <!--
   ! Function to display a serialized date object (date only)
   !
   ! @param  node-set shortcuts
   !-->
  <func:function name="func:shortcuts">
    <xsl:param name="shortcuts"/>

    <func:result>
      <table class="shortcuts">
        <tr>
          <xsl:for-each select="exsl:node-set($shortcuts)/shortcut">
            <td align="middle" valign="top">
              <a href="{@href}">
                <img width="32" height="32" border="0" src="/image/icons/{@icon}.png"/><br/>
                <xsl:value-of select="."/>
              </a>
            </td>
          </xsl:for-each>
        </tr>
      </table>
    </func:result>
  </func:function>

</xsl:stylesheet>
{'fraction_non_alphanumeric': 0.19568415890142227, 'fraction_numerical': 0.016674840608141245, 'mean_word_length': 2.4285714285714284, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 2, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 8}, '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': '2107820', 'n_tokens_mistral': 739, 'n_tokens_neox': 675, 'n_words': 118}