<commit_before><div class="article">

    <div class="article-title">
        <h2>
            <a href="<?php echo $this->url(array(
                'action' => 'view',
                'controller' => 'news',
                'slug' => $this->news->slug
            ), '', true); ?>"><?php echo $this->escape($this->news->title); ?></a>
        </h2>
    </div>

    <div class="article-content">
        <?php echo $this->news->text; ?>
    </div>

    <div class="article-footer">
        Objavio: <?php echo $this->news->firstname; ?> <?php echo $this->news->lastname; ?>
        dana <?php echo $this->news->datetime_added; ?>
        u kategoriji <a href="<?php echo $this->url(array(
            'action' => 'browse',
            'controller' => 'news',
            'category' => $this->news->category_slug
        ), '', true); ?>"><?php echo $this->news->category_title; ?></a>
    </div>

    Oznake: <?php echo $this->tags($this->news->id); ?>

</div>

<div class="comments">

    <?php $comments = $this->comments($this->news->id); ?>

    <?php if(count($comments) > 0): ?>

        <?php foreach($comments as $comment): ?>
        <div>
            <?php echo $this->escape($comment->name); ?>
            <br />
            <?php echo $this->escape($comment->datetime_added); ?>
            <br />
            <?php echo $this->escape($comment->comment); ?>
        </div>
        <?php endforeach; ?>

    <?php else: ?>
    Nema komentara
    <?php endif; ?>

    <?php echo $this->commentsForm; ?>
</div><commit_msg>showing the response message on comment adding<commit_after><div class="article">

    <div class="article-title">
        <h2>
            <a href="<?php echo $this->url(array(
                'action' => 'view',
                'controller' => 'news',
                'slug' => $this->news->slug
            ), '', true); ?>"><?php echo $this->escape($this->news->title); ?></a>
        </h2>
    </div>

    <div class="article-content">
        <?php echo $this->news->text; ?>
    </div>

    <div class="article-footer">
        Objavio: <?php echo $this->news->firstname; ?> <?php echo $this->news->lastname; ?>
        dana <?php echo $this->news->datetime_added; ?>
        u kategoriji <a href="<?php echo $this->url(array(
            'action' => 'browse',
            'controller' => 'news',
            'category' => $this->news->category_slug
        ), '', true); ?>"><?php echo $this->news->category_title; ?></a>
    </div>

    Oznake: <?php echo $this->tags($this->news->id); ?>

</div>

<div class="comments">

    <?php $comments = $this->comments($this->news->id); ?>

    <?php if(count($comments) > 0): ?>

        <?php foreach($comments as $comment): ?>
        <div>
            <?php echo $this->escape($comment->name); ?>
            <br />
            <?php echo $this->escape($comment->datetime_added); ?>
            <br />
            <?php echo $this->escape($comment->comment); ?>
        </div>
        <?php endforeach; ?>

    <?php else: ?>
    Nema komentara
    <?php endif; ?>

    <?php echo $this->flashMessenger(); ?>

    <?php echo $this->commentsForm; ?>
</div>
{'fraction_non_alphanumeric': 0.2177650429799427, 'fraction_numerical': 0.0019102196752626551, 'mean_word_length': 2.12636815920398, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 0, '>': 161, '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': '674017', 'n_tokens_mistral': 980, 'n_tokens_neox': 967, 'n_words': 210}