<commit_before>@if($ro->identifiers)


        <div id=identifiers"><h4> Identifiers </h4></div>

            <ul class="list-unstyled">
                @foreach($ro->identifiers as $col)
                    <?php $hover_text=''; ?>
                    @if(isset($col['identifier']['display_text']))
                        <?php
                        $col['type'] = $col['identifier']['display_text'];
                        ?>
                    @endif
                    @if(isset($col['identifier']['hover_text']))
                    <?php
                        $hover_text=$col['identifier']['hover_text'];
                    ?>
                    @endif
                    <?php
                    echo '<li>' . $col['type'] . " : ";
                    $itemprop ='';
                    if($col['type']='doi'||$col['type']=='purl'||$col['type']=='uri'||$col['type']=='handle'||$col['type']=='url') $itemprop = 'itemprop="url"';
                    if (isset($col['identifier']['href']) && $col['identifier']['href'] != '') {
                        echo '<a href="' . $col['identifier']['href'] . '" '.$itemprop.' title="'.$hover_text.'">' . $col['value'] . '</a>';
                    } else {
                        echo $col['value'];
                    }
                    ?>
                    @if(isset($col['identifier']['display_icon']))
                        {{$col['identifier']['display_icon']}}
                    @endif
                    <?php
                    echo '</li>';
                    ?>
                @endforeach<commit_msg>open resolvable identifier links in preview window in new window<commit_after>@if($ro->identifiers)


        <div id=identifiers"><h4> Identifiers </h4></div>

            <ul class="list-unstyled">
                @foreach($ro->identifiers as $col)
                    <?php $hover_text=''; ?>
                    @if(isset($col['identifier']['display_text']))
                        <?php
                        $col['type'] = $col['identifier']['display_text'];
                        ?>
                    @endif
                    @if(isset($col['identifier']['hover_text']))
                    <?php
                        $hover_text=$col['identifier']['hover_text'];
                    ?>
                    @endif
                    <?php
                    echo '<li>' . $col['type'] . " : ";
                    $itemprop ='';
                    if($col['type']='doi'||$col['type']=='purl'||$col['type']=='uri'||$col['type']=='handle'||$col['type']=='url') $itemprop = 'itemprop="url"';
                    if (isset($col['identifier']['href']) && $col['identifier']['href'] != '') {
                        echo '<a href="' . $col['identifier']['href'] . '" '.$itemprop.' title="'.$hover_text.'" target="_blank">' . $col['value'] . '</a>';
                    } else {
                        echo $col['value'];
                    }
                    ?>
                    @if(isset($col['identifier']['display_icon']))
                        {{$col['identifier']['display_icon']}}
                    @endif
                    <?php
                    echo '</li>';
                    ?>
                @endforeach
{'fraction_non_alphanumeric': 0.19764924218991647, 'fraction_numerical': 0.0012372409526755336, 'mean_word_length': 1.2473940236275192, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 35, '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': '3145491', 'n_tokens_mistral': 841, 'n_tokens_neox': 767, 'n_words': 109}