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

markdown: po4a tries to do some interpretation in code blocks #546

Open
Fat-Zer opened this issue Dec 1, 2024 · 0 comments
Open

markdown: po4a tries to do some interpretation in code blocks #546

Fat-Zer opened this issue Dec 1, 2024 · 0 comments

Comments

@Fat-Zer
Copy link
Contributor

Fat-Zer commented Dec 1, 2024

subj. At least it tries to interpret bullets.


How to reproduce:

foo.md:

```diff
-    .annotation system Ldalvik/annotation/Signature;
-    .end annotation
```

Run: po4a-updatepo -f text -o markdown -m foo.md -p foo.po


Actual result

foo.po:

...

#. type: Bullet: '-    '
#: foo.md:1
msgid ".annotation system Ldalvik/annotation/Signature;"
msgstr ""

#. type: Bullet: '-    '
#: foo.md:1
msgid ".end annotation"
msgstr ""

Expected result

...

#. type: Fenced code block
#: foo.md:2
#, no-wrap
msgid ""
"-    .annotation system Ldalvik/annotation/Signature;\n"
"-    .end annotation\n"
msgstr ""
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