Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Undefined not handled as empty string (in tags) #2297
Help us to manage our issues by answering the following:
According to the 3.4.0 Changelog:
Fix: Null and undefined expressions will be no longer converted into empty strings for the tag attributes riot/2180
The following template:
Produces this output (diff'd from test fixtures) after updating to 3.4.0:
- <h2>RENDER DEMO <small>undefined</small></h2> + <h2>RENDER DEMO <small></small></h2>
Clearly, the noted Fix behavior is not limited to attributes, but affects expressions everywhere.
I'm also wondering, is riot/2180 actually the issue that has been resolved here?
Here's the v.3.3.2 version for comparison: