Commit 0967acc
authored
Fix string split on ':' only split on first (#408)
* Fix string split on ':' only split on first
Say the validation rule `date_format:!Y-m-d H:i:s` was used.
That would parse to the badge containing "Format: !Y-m-d H i s", stripping the required ":"'s.
This fixes that by only splitting on the first ":" and keeping the remaining string as is, including ":".
* remove semi colons1 parent 6d9e4b1 commit 0967acc
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
0 commit comments