Skip to content

Commit

Permalink
Fix: Remove newline from alias template (#220)
Browse files Browse the repository at this point in the history
* Fix: Remove newline from alias template

* ci: auto fixes from pre-commit hooks

for more information, see https://pre-commit.ci

* Remove file-end-fixer from precommit bot

* More newlines to go

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
fsbraun and pre-commit-ci[bot] authored Feb 12, 2024
1 parent 5b04820 commit 57d08ea
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ repos:
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{% load djangocms_alias_tags %}{% render_alias instance.alias %}
{% load djangocms_alias_tags %}{% render_alias instance.alias %}
2 changes: 1 addition & 1 deletion djangocms_alias/test_utils/text/templates/text/text.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{ instance.body|safe }}
{{ instance.body|safe }}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{% load djangocms_alias_tags %}<b>{% render_alias instance.alias %}</b>
{% load djangocms_alias_tags %}<b>{% render_alias instance.alias %}</b>

0 comments on commit 57d08ea

Please sign in to comment.