Remove unnecessary spaces at the end of HTML tag.

This commit is contained in:
Greg Burri 2025-05-06 22:35:40 +02:00
parent 1b85c275e2
commit 45f4e2d169
5 changed files with 16 additions and 8 deletions

View file

@ -3,11 +3,11 @@
{% block content %}
<div class="content" id="recipe-view">
<h2 class="recipe-title" >{{ recipe.title }}</h2>
<h2 class="recipe-title">{{ recipe.title }}</h2>
{% if let Some(user) = context.user %}
{% if user.can_edit_recipe(recipe) %}
<a class="edit-recipe button" href="/{{ context.tr.current_lang_code() }}/recipe/edit/{{ recipe.id }}" >Edit</a>
<a class="edit-recipe button" href="/{{ context.tr.current_lang_code() }}/recipe/edit/{{ recipe.id }}">Edit</a>
{% endif %}
{% endif %}
@ -50,7 +50,7 @@
</span>
{% if !recipe.description.is_empty() %}
<div class="recipe-description" >
<div class="recipe-description">
{{ recipe.description | markdown }}
</div>
{% endif %}
@ -83,7 +83,7 @@
<div id="hidden-templates">
{# To create a modal dialog to choose a date and and servings #}
<div class="date-and-servings" >
<div class="date-and-servings">
{% include "calendar.html" %}
<label for="input-servings">{{ context.tr.t(Sentence::RecipeServings) }}</label>