-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Remove newline from alias template (#220)
* 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
1 parent
5b04820
commit 57d08ea
Showing
4 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,5 +31,4 @@ repos: | |
rev: v4.5.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{{ instance.body|safe }} | ||
{{ instance.body|safe }} |
2 changes: 1 addition & 1 deletion
2
tests/templates/djangocms_alias/custom_alias_template/alias.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |