Skip to content

Commit

Permalink
- Fix code mise en page
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieu2607 committed Dec 11, 2022
1 parent 4ea087b commit 7579fac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Resources/templates/blocks/highlight.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<title lang="fr">Langage de programmation (html, php, javascript, python....)</title>
</meta>
</property>
<property name="code" type="text_area" colspan="6">
<property name="code" type="text_area" colspan="12">
<meta>
<title lang="en">Code</title>
<title lang="fr">Code</title>
Expand Down
8 changes: 1 addition & 7 deletions Resources/views/html5/highlight.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@

{% block section_content %}
<pre>
<code class="{% block title %}language-{% if block['language'] is defined and block['language'] is not empty %}{{ block['language'] }}{% endif %}{% endblock %}">
{%- block code -%}
{% if block['code'] is defined and block['code'] is not empty %}
{{ block['code'] }}
{% endif %}
{% endblock %}
</code>
<code class="{% block title %}language-{% if block['language'] is defined and block['language'] is not empty %}{{ block['language'] }}{% endif %}{% endblock %}">{%- block code -%}{% if block['code'] is defined and block['code'] is not empty %}{{ block['code'] }}{% endif %}{% endblock %}</code>
</pre>
{% endblock %}
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.5.6

- Fix code mise en page

## 2.5.5 (10/12/2022)

+ Ajout bloc video avec texte
Expand Down

0 comments on commit 7579fac

Please sign in to comment.