We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this expected behavior?
const lf = '* Section1' + '\n' + '** Section2'
{ "type": "document", "properties": {}, "children": [ { "type": "section", "level": 1, "properties": {}, "children": [ { "type": "headline", "actionable": false, "children": [ { "type": "stars", "level": 1 }, { "type": "text", "value": "Section1" }, { "type": "newline" } ], "level": 1 }, { "type": "section", "level": 2, "properties": {}, "children": [ { "type": "headline", "actionable": false, "children": [ { "type": "stars", "level": 2 }, { "type": "text", "value": "Section2" } ], "level": 2 } ] } ] } ] }
const crlf = '* Section1' + '\r\n' + '** Section2'
{ "type": "document", "properties": {}, "children": [ { "type": "section", "level": 1, "properties": {}, "children": [ { "type": "headline", "actionable": false, "children": [ { "type": "stars", "level": 1 }, { "type": "text", "value": "Section1" }, { "type": "newline" } ], "level": 1 }, { "type": "newline" }, { "type": "section", "level": 2, "properties": {}, "children": [ { "type": "headline", "actionable": false, "children": [ { "type": "stars", "level": 2 }, { "type": "text", "value": "Section2" } ], "level": 2 } ] } ] } ] }
The text was updated successfully, but these errors were encountered:
I noticed that when files use CRLF, there are many incorrect results, so maybe all files should be converted to LF before parsing.
Sorry, something went wrong.
fix: orgapp/orgajs#147
857c9b0
No branches or pull requests
Is this expected behavior?
LF
CRLF
The text was updated successfully, but these errors were encountered: