<commit_before><%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="lor" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="l" uri="http://www.linux.org.ru" %>
<%--
  ~ Copyright 1998-2012 Linux.org.ru
  ~    Licensed under the Apache License, Version 2.0 (the "License");
  ~    you may not use this file except in compliance with the License.
  ~    You may obtain a copy of the License at
  ~
  ~        http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~    Unless required by applicable law or agreed to in writing, software
  ~    distributed under the License is distributed on an "AS IS" BASIS,
  ~    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~    See the License for the specific language governing permissions and
  ~    limitations under the License.
  --%>
<%--@elvariable id="tag" type="java.lang.String"--%>
<%--@elvariable id="fullNews" type="java.util.List<ru.org.linux.topic.PersonalizedPreparedTopic>"--%>
<%--@elvariable id="gallery" type="java.util.List<ru.org.linux.gallery.PreparedGalleryItem>"--%>
<%--@elvariable id="briefNews1" type="java.util.List<ru.org.linux.topic.Topic>"--%>
<%--@elvariable id="briefNews2" type="java.util.List<ru.org.linux.topic.Topic>"--%>
<%--@elvariable id="forum1" type="java.util.List<ru.org.linux.tag.TagPageController.ForumItem>"--%>
<%--@elvariable id="forum2" type="java.util.List<ru.org.linux.tag.TagPageController.ForumItem>"--%>

<jsp:include page="/WEB-INF/jsp/head.jsp"/>
<title>${tag}</title>

<jsp:include page="/WEB-INF/jsp/header.jsp"/>

<h1><i class="icon-tag"></i> ${tag}</h1>

<section>
    <c:forEach var="msg" items="${fullNews}">
        <lor:news
                preparedMessage="${msg.preparedTopic}"
                messageMenu="${msg.topicMenu}"
                multiPortal="false"
                minorAsMajor="true"
                moderateMode="false"/>
    </c:forEach>
</section>

<c:if test="${not empty briefNews1}">
<section>
   <h2>Еще новости</h2>

   <div class="container">
   <ul class="col-first-half">
       <c:forEach var="msg" items="${briefNews1}">
           <li><lor:dateinterval date="${msg.commitDate}"/>&emsp;<a href="${msg.link}"><c:out escapeXml="true" value="${msg.title}"/></a> </li>
       </c:forEach>
   </ul>
    <ul class="col-second-half">
        <c:forEach var="msg" items="${briefNews2}">
            <li><lor:dateinterval date="${msg.commitDate}"/>&emsp;<a href="${msg.link}"><c:out escapeXml="true" value="${msg.title}"/></a> </li>
        </c:forEach>
    </ul>
   </div>
</section>
</c:if>

<c:if test="${not empty gallery}"><commit_msg>tag-page: убран двойное экранирование заголовка новости<commit_after><%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="lor" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="l" uri="http://www.linux.org.ru" %>
<%--
  ~ Copyright 1998-2012 Linux.org.ru
  ~    Licensed under the Apache License, Version 2.0 (the "License");
  ~    you may not use this file except in compliance with the License.
  ~    You may obtain a copy of the License at
  ~
  ~        http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~    Unless required by applicable law or agreed to in writing, software
  ~    distributed under the License is distributed on an "AS IS" BASIS,
  ~    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~    See the License for the specific language governing permissions and
  ~    limitations under the License.
  --%>
<%--@elvariable id="tag" type="java.lang.String"--%>
<%--@elvariable id="fullNews" type="java.util.List<ru.org.linux.topic.PersonalizedPreparedTopic>"--%>
<%--@elvariable id="gallery" type="java.util.List<ru.org.linux.gallery.PreparedGalleryItem>"--%>
<%--@elvariable id="briefNews1" type="java.util.List<ru.org.linux.topic.Topic>"--%>
<%--@elvariable id="briefNews2" type="java.util.List<ru.org.linux.topic.Topic>"--%>
<%--@elvariable id="forum1" type="java.util.List<ru.org.linux.tag.TagPageController.ForumItem>"--%>
<%--@elvariable id="forum2" type="java.util.List<ru.org.linux.tag.TagPageController.ForumItem>"--%>

<jsp:include page="/WEB-INF/jsp/head.jsp"/>
<title>${tag}</title>

<jsp:include page="/WEB-INF/jsp/header.jsp"/>

<h1><i class="icon-tag"></i> ${tag}</h1>

<section>
    <c:forEach var="msg" items="${fullNews}">
        <lor:news
                preparedMessage="${msg.preparedTopic}"
                messageMenu="${msg.topicMenu}"
                multiPortal="false"
                minorAsMajor="true"
                moderateMode="false"/>
    </c:forEach>
</section>

<c:if test="${not empty briefNews1}">
<section>
   <h2>Еще новости</h2>

   <div class="container">
   <ul class="col-first-half">
       <c:forEach var="msg" items="${briefNews1}">
           <li><lor:dateinterval date="${msg.commitDate}"/>&emsp;<a href="${msg.link}">${msg.title}</a> </li>
       </c:forEach>
   </ul>
    <ul class="col-second-half">
        <c:forEach var="msg" items="${briefNews2}">
            <li><lor:dateinterval date="${msg.commitDate}"/>&emsp;<a href="${msg.link}">${msg.title}</a> </li>
        </c:forEach>
    </ul>
   </div>
</section>
</c:if>

<c:if test="${not empty gallery}">
{'fraction_non_alphanumeric': 0.20536672629695885, 'fraction_numerical': 0.008586762075134168, 'mean_word_length': 3.609233305853256, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '4139830', 'n_tokens_mistral': 1989, 'n_tokens_neox': 1910, 'n_words': 366}