Skip to content

Fix multiline failure#37

Open
jonathan-s wants to merge 2 commits into
django-components:mainfrom
jonathan-s:multiline-failure
Open

Fix multiline failure#37
jonathan-s wants to merge 2 commits into
django-components:mainfrom
jonathan-s:multiline-failure

Conversation

@jonathan-s
Copy link
Copy Markdown

Code that looked like this would fail with a SyntaxError. This is something that we want to avoid and we want to allow multiline text like this as this worked in prior versions.

{% component "small_button"
      theme="danger"
      icon="fa-solid fa-xmark"
      _="on click
          set replyForm to closest <form />" %}
{% endcomponent %}

@jonathan-s jonathan-s changed the title Multiline failure Fix multiline failure Apr 20, 2026
@jonathan-s
Copy link
Copy Markdown
Author

@EmilStenstrom, if you're able to take a look at this that would be great as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant