File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
src/Standards/Generic/Docs/WhiteSpace Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,18 @@ $newLine;
2929 <code_comparison >
3030 <code title =" Valid: Single space between yield and from." >
3131 <![CDATA[
32- yield<em> </em>from [1, 2, 3];
32+ function myGenerator() {
33+ yield<em> </em>from [1, 2, 3];
34+ }
3335 ]]>
3436 </code >
35- <code title =" Invalid: No space, more than one space or newline between yield and from." >
37+ <code title =" Invalid: More than one space or newline between yield and from." >
3638 <![CDATA[
37- yield<em></em>from [1, 2, 3];
38- yield<em> </em>from [1, 2, 3];
39- yield<em></em>
40- from [1, 2, 3];
39+ function myGenerator() {
40+ yield<em> </em>from [1, 2, 3];
41+ yield<em></em>
42+ from [1, 2, 3];
43+ }
4144 ]]>
4245 </code >
4346 </code_comparison >
You can’t perform that action at this time.
0 commit comments