<commit_before>{% with m.config.seo.keywords.value as keywords %}
	{% with m.config.seo.description.value as description %}
		{% if id %}
			<link rel="shorturl" href="{% url id id=id %}" />
			<link rel="canonical" href="{{ m.rsc[id].page_url }}" />
			{% if m.rsc[id].seo_noindex %}
				<meta name="robots" content="noindex" />
			{% else %}
				{% with m.rsc[id].seo_keywords as seo_keywords %}
					{% if seo_keywords %}
						<meta name="keywords" content="{{ seo_keywords }}, {{ keywords }}" />
					{% else %}
						<meta name="keywords" content="{% for predicate in m.rsc[id].op %}{% ifnotequal predicate "depiction" %}{% for oid in m.rsc[id].o[predicate] %}{{ m.rsc[oid].title }}, {% endfor %}{% endifnotequal %}{% endfor %}{{ keywords }}" />
					{% endif %}
					<meta name="description" content="{{ m.rsc[id].seo_desc|default:m.rsc[id].summary }} {{ description }}" />
				{% endwith %}
			{% endif %}
		{% else %}
			{% if keywords or description %}
				<meta name="keywords" content="{{ keywords }}" />
				<meta name="description" content="{{ description }}" />
			{% endif %}
		{% endif %}
	{% endwith %}
{% endwith %}<commit_msg>Put striptags around values in metatags, just to be sure.<commit_after>{% with m.config.seo.keywords.value as keywords %}
	{% with m.config.seo.description.value as description %}
		{% if id %}
			<link rel="shorturl" href="{% url id id=id %}" />
			<link rel="canonical" href="{{ m.rsc[id].page_url }}" />
			{% if m.rsc[id].seo_noindex %}
				<meta name="robots" content="noindex" />
			{% else %}
				{% with m.rsc[id].seo_keywords as seo_keywords %}
					{% if seo_keywords %}
						<meta name="keywords" content="{{ seo_keywords|striptags }}, {{ keywords|striptags }}" />
					{% else %}
						<meta name="keywords" content="{% for predicate in m.rsc[id].op %}{% ifnotequal predicate "depiction" %}{% for oid in m.rsc[id].o[predicate] %}{{ m.rsc[oid].title|striptags }}, {% endfor %}{% endifnotequal %}{% endfor %}{{ keywords }}" />
					{% endif %}
					<meta name="description" content="{{ m.rsc[id].seo_desc|default:m.rsc[id].summary|striptags }} {{ description|striptags }}" />
				{% endwith %}
			{% endif %}
		{% else %}
			{% if keywords or description %}
				<meta name="keywords" content="{{ keywords|striptags }}" />
				<meta name="description" content="{{ description|striptags }}" />
			{% endif %}
		{% endif %}
	{% endwith %}
{% endwith %}
{'fraction_non_alphanumeric': 0.21654197838736491, 'fraction_numerical': 0.0, 'mean_word_length': 3.619961612284069, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '3299668', 'n_tokens_mistral': 1031, 'n_tokens_neox': 810, 'n_words': 175}