add 'Else' to the last line of the algorithm #18
Closed
Comments
Good editorial improvement. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think 'Else' should be added to the last line of the section 3 algorithm
If the post has no "name" property
or has a "name" property with an empty string value (or no value)
Then it is a note post.
Take the first non-empty value of the "name" property
Trim all leading/trailing whitespace
Collapse all sequences of internal whitespace to a single space (0x20) character each
Do the same with the content
If this processed "name" property value is NOT a prefix of the processed content,
Then it is an article post.
[Else] It is a note post.
The text was updated successfully, but these errors were encountered: