Skip to content
New issue

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

[.self-assessment] Confusion between body and bullets #7

Open
six5536 opened this issue Apr 3, 2023 · 0 comments
Open

[.self-assessment] Confusion between body and bullets #7

six5536 opened this issue Apr 3, 2023 · 0 comments

Comments

@six5536
Copy link

six5536 commented Apr 3, 2023

Describe the bug
[.interview] Confusion between body and bullets. Bullets are included in body.

To Reproduce
Parse the following bitmark to produce JSON output:

[.self-assessment]
[@id:191220]
===
1. Die Arbeit, der ich nachgehe, bedeutet mir etwas
[• stimme ganz zu]
[• stimme nicht zu]
[• teils/teils]
===
2. Meine Arbeit ist mir sehr wichtig
[• stimme ganz zu]
[• stimme nicht zu]
[• teils/teils]
===
3. Meine beruflichen Tätigkeiten sind für mich von persönlicher Bedeutung
[• stimme ganz zu]
[• stimme nicht zu]
[• teils/teils]
===

The following JSON is produced:

 {
   "bitmark": "[.self-assessment]\n[@id:191220]\n===\n1. Die Arbeit, der ich nachgehe, bedeutet mir etwas\n[• stimme ganz zu]\n[• stimme nicht zu]\n[• teils/teils]\n===\n2. Meine Arbeit ist mir sehr wichtig\n[• stimme ganz zu]\n[• stimme nicht zu]\n[• teils/teils]\n===\n3. Meine beruflichen Tätigkeiten sind für mich von persönlicher Bedeutung\n[• stimme ganz zu]\n[• stimme nicht zu]\n[• teils/teils]\n===",
   "bit": {
     "type": "self-assessment",
     "format": "bitmark--",
     "body": "===\n1. Die Arbeit, der ich nachgehe, bedeutet mir etwas\n\n\n\n===\n2. Meine Arbeit ist mir sehr wichtig\n\n\n\n===\n3. Meine beruflichen Tätigkeiten sind für mich von persönlicher Bedeutung\n\n\n\n===",
     "item": "",
     "hint": "",
     "isExample": false,
     "example": "",
     "id": [
       "191220"
     ],
     "bullet": [
       "stimme ganz zu",
       "stimme nicht zu",
       "teils/teils",
       "stimme ganz zu",
       "stimme nicht zu",
       "teils/teils",
       "stimme ganz zu",
       "stimme nicht zu",
       "teils/teils"
     ]
   }
 }

Expected behavior
I am not sure exactly what the behaviour should be, but this seems wrong.

versions
1.0.38

nodayoshikazu added a commit that referenced this issue Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant