Bug: Smarty include params with spaces breaks #330
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
experiment
suggestion
support
Testing
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/framework#330
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem Statement
The
{include}
command in the Hazaar Smarty template engine is not handling multi-word string parameters correctly. While the parameters are being parsed correctly, they are incorrectly reconstructed, resulting in each word being individually quoted instead of preserving the original string format.Steps to Reproduce
Use
{include}
with a multi-word string parameter in a Smarty template, such as:Observe how the parameters are parsed correctly.
When the template is processed, the parameters are reconstructed incorrectly, with each word being quoted separately.
Expected Behavior
Actual Behavior
"Another Card Title"
, the system reconstructs it as"Another" "Card" "Title"
.Who is affected?
{include}
with multi-word string parameters in Smarty templates.Proposed Solution
{include}
parameters.Priority/Severity
assigned to @jamie
created branch
330-bug-smarty-include-params-with-spaces-breaks
to address this issuementioned in merge request !219
mentioned in commit 2e9fc10e4602d97b4324713c3247b29136616f21
mentioned in commit 6c151437c28ed84c787c98c785330ec44180c92d
mentioned in commit
56eece9f14