You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Result of the Example 8.2 written in canonical format contains an error in the line 7.
Source:
>°·→·detected
Current (wrong) result:
!!str "\t·detected\n",
As Block Folding declaration says: In addition, folding does not apply to line breaks surrounding text lines that contain leading white space. Note that such a more-indented line may consist only of such leading white space.
Which mean that the tab preserves the following line feed and the correct result is:
!!str "\t\ndetected\n",
The text was updated successfully, but these errors were encountered:
dnsl48
changed the title
YAML 1.2 spec: Example 8.2 incorrect
YAML 1.2 spec: Example 8.2 incorrect result
Jun 4, 2016
Result of the Example 8.2 written in canonical format contains an error in the line 7.
Source:
Current (wrong) result:
!!str "\t·detected\n",
As
Block Folding
declaration says:In addition, folding does not apply to line breaks surrounding text lines that contain leading white space. Note that such a more-indented line may consist only of such leading white space.
Which mean that the
tab
preserves the following line feed and the correct result is:!!str "\t\ndetected\n",
The text was updated successfully, but these errors were encountered: