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

[.article:bitmark++&audio-link] parses audio link incorrectly #15

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

[.article:bitmark++&audio-link] parses audio link incorrectly #15

six5536 opened this issue Apr 12, 2023 · 0 comments

Comments

@six5536
Copy link

six5536 commented Apr 12, 2023

Describe the bug
[.article:bitmark++&audio-link] parses audio link incorrectly.

To Reproduce
Parse the following bitmark to produce JSON output:

[.article:bitmark++&audio-link]
[@id:301682]
Das sprechende Buch
[&audio-link:https://bewirken.org/buch-audioplayer/?file=26&title=Gemeinsam%20Schule%20ver%C3%A4ndern]

The following JSON is produced:

[
  {
    "bitmark": "[.article:bitmark++&audio-link]\n[@id:301682]\nDas sprechende Buch\n[&audio-link:https://bewirken.org/buch-audioplayer/?file=26&title=Gemeinsam%20Schule%20ver%C3%A4ndern]",
    "bit": {
      "type": "article",
      "format": "bitmark++",
      "body": "Das sprechende Buch",
      "id": [
        "301682"
      ],
      "resource": {
        "type": "audio-link",
        "audioLink": {
          "provider": "org/buch-audioplayer/?file=26&title=Gemeinsam%20Schule%20ver%C3%A4ndern",
          "url": "https://bewirken.org/buch-audioplayer/?file=26&title=Gemeinsam%20Schule%20ver%C3%A4ndern",
          "duration": "",
          "autoplay": true
        }
      }
    }
  }
]

Expected behavior
Audio link provider is correct (not sure what it should be, but it is obviously wrong currently)

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