<commit_before><table cellspacing="0" class="sf_admin_list">
<?php $skosProps = SkosPropertyPeer::getResourceProperties(); ?>
    <?php /** @var ConceptProperty $property */
foreach($properties as $property): ?>
  <tr>
    <td>
      <?php echo link_to($property->getProfileProperty()->getLabel(), 'conceptprop/show?id=' . $property->getId(), array('title' => 'skos:' . $property->getProfileProperty()->getName())) ?>
    </td>
    <td>
<?php $skos = $property->getSkosPropertyId(); ?>
<?php if (in_array($skos, $skosProps)): ?>
  <?php $relatedConcept = $property->getConceptRelatedByRelatedConceptId(); ?>
      <?php echo ($relatedConcept) ? link_to($relatedConcept->getPrefLabel(), 'concept/show?id=' . $relatedConcept->getId(), array('title' => $relatedConcept->getUri())) : $property->getObject(); ?>
<?php else: ?>
      <?php echo $property->getObject(); ?>
<?php endif; ?>
    </td>
    <td><?php $value = format_language($property->getLanguage()); echo ($value) ? $value : '&nbsp;' ?></td>
    <td><?php $value = $property->getStatus(); echo ($value) ? $value : '&nbsp;' ?></td>
<?php if ($sf_user->isAuthenticated()): ?>
<?php if ($sf_user->hasObjectCredential($sf_user->getCurrentVocabulary()->getId(), 'vocabulary',  array (   0 =>    array (     0 => 'administrator',     1 => 'vocabularymaintainer',     2 => 'vocabularyadmin',   ), ))): ?>
    <td>
      <ul class="sf_admin_td_actions">
        <li>
          <?php echo link_to(image_tag('/jpAdminPlugin/images/edit_icon.png', array('alt' => __('edit'), 'title' => __('edit'))), 'conceptprop/edit?id='.$property->getId()) ?>
        </li>
      </ul>
    </td>
<?php endif; ?>
<?php endif; ?>
  </tr>
<?php endforeach ?>
</table>
<commit_msg>properly encode the label in conceptproperty list<commit_after><table cellspacing="0" class="sf_admin_list">
<?php $skosProps = SkosPropertyPeer::getResourceProperties(); ?>
    <?php /** @var ConceptProperty $property */
foreach($properties as $property): ?>
  <tr>
    <td>
      <?php echo link_to($property->getProfileProperty()->getLabel(), 'conceptprop/show?id=' . $property->getId(), array('title' => 'skos:' . $property->getProfileProperty()->getName())) ?>
    </td>
    <td>
<?php $skos = $property->getSkosPropertyId(); ?>
<?php if (in_array($skos, $skosProps)): ?>
  <?php $relatedConcept = $property->getConceptRelatedByRelatedConceptId(); ?>
      <?php echo ($relatedConcept) ? link_to($relatedConcept->getPrefLabel(), 'concept/show?id=' . $relatedConcept->getId(), array('title' => $relatedConcept->getUri())) : htmlspecialchars(html_entity_decode($property->getObject(), ENT_QUOTES | ENT_HTML5, 'UTF-8')); ?>
<?php else: ?>
      <?php echo $property->getObject(); ?>
<?php endif; ?>
    </td>
    <td><?php $value = format_language($property->getLanguage()); echo ($value) ? $value : '&nbsp;' ?></td>
    <td><?php $value = $property->getStatus(); echo ($value) ? $value : '&nbsp;' ?></td>
<?php if ($sf_user->isAuthenticated()): ?>
<?php if ($sf_user->hasObjectCredential($sf_user->getCurrentVocabulary()->getId(), 'vocabulary',  array (   0 =>    array (     0 => 'administrator',     1 => 'vocabularymaintainer',     2 => 'vocabularyadmin',   ), ))): ?>
    <td>
      <ul class="sf_admin_td_actions">
        <li>
          <?php echo link_to(image_tag('/jpAdminPlugin/images/edit_icon.png', array('alt' => __('edit'), 'title' => __('edit'))), 'conceptprop/edit?id='.$property->getId()) ?>
        </li>
      </ul>
    </td>
<?php endif; ?>
<?php endif; ?>
  </tr>
<?php endforeach ?>
</table>

{'fraction_non_alphanumeric': 0.2285228239296853, 'fraction_numerical': 0.003402324922030054, 'mean_word_length': 4.582278481012659, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 129, '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': '134210', 'n_tokens_mistral': 1169, 'n_tokens_neox': 1161, 'n_words': 223}