-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New branch to fix TAL default handling (#853)
* - new branch to fix TAL default handling * adapt to changed default handling of `chameleon==3.7.4` (does not yet work * Python 3 compatibility * - use Chameleon 3.8 * Adaptations for `chameleon>=3.8` * - fix lint issue * - add test for straight boolean after seeing malthe/chameleon#318 * - comment change [ci skip] Co-authored-by: dieter <dieter@handshake.de>
- Loading branch information
Showing
9 changed files
with
28 additions
and
25 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
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
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
7 changes: 7 additions & 0 deletions
7
src/Products/PageTemplates/tests/input/BooleanAttributes.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<select> | ||
<option value="" tal:attributes="selected python: True">Selected</option> | ||
<option value="a" tal:attributes="selected python: False">Not selected</option> | ||
<option value="ok" tal:attributes="selected python: None">Not selected</option> | ||
<option value="b" tal:attributes="selected nothing">Not selected</option> | ||
<option value="c" tal:attributes="selected string:">Not selected</option> | ||
</select> |
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
7 changes: 7 additions & 0 deletions
7
src/Products/PageTemplates/tests/output/BooleanAttributes.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<select> | ||
<option value="" selected="selected">Selected</option> | ||
<option value="a">Not selected</option> | ||
<option value="ok">Not selected</option> | ||
<option value="b">Not selected</option> | ||
<option value="c">Not selected</option> | ||
</select> |
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
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
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