-
Notifications
You must be signed in to change notification settings - Fork 732
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing of 'false' as Boolean option value (#1382)
Rouge allows for options to be passed to a lexer's constructor method. The options are parsed from strings and the string 'false' was not being converted to the Boolean value `false`. This commit fixes that and also adds a rudimentary series of tests to ensure that Boolean options are being properly parsed.
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
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