Skip to content

Commit 95c22d7

Browse files
authored
Feature/fix source code highlight (#4)
1 parent 9456f78 commit 95c22d7

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 1.0.3
3+
## 1.0.4
44

55
1. Add component `Preview` support
66

723 KB
Loading

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "django-viewcomponent"
3-
version = "1.0.3"
3+
version = "1.0.4"
44
description = "Build reusable components in Django, inspired by Rails ViewComponent"
55
authors = ["Michael Yin <michaelyin@accordbox.com>"]
66
license = "MIT"

src/django_viewcomponent/templates/django_viewcomponent/preview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<div class="view-component-source-example">
77
<h2>Source:</h2>
8-
<pre><code class="language-python">{{ preview_source|safe }}</code></pre>
8+
<pre><code class="language-python">{{ preview_source }}</code></pre>
99
</div>
1010

1111
{% endblock %}

0 commit comments

Comments
 (0)