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

bug in wiki markup conversion #212

Open
zhongluqiang opened this issue May 6, 2021 · 1 comment
Open

bug in wiki markup conversion #212

zhongluqiang opened this issue May 6, 2021 · 1 comment

Comments

@zhongluqiang
Copy link

zhongluqiang commented May 6, 2021

This extension saved my life, but I found some bugs:

  1. any {} outside codeblock will be converted to confluence macro wiki markup, thus ruin the whole conversion;
  2. any [] outside codeblock will be converted to confluence link wiki markup, even in inline codeblock.

markdown example:

Next line is an markdown example to test the above bugs:
this is an array: int a[5] = {1, 2, 3, 4, 5};

wiki markup output:

Next line is an markdown example to test the above bugs:
this is an array: int a[5] = {1, 2, 3, 4, 5};

In this case [5] is a link, see Links, and {1, 2, 3, 4, 5} is an unknown macro.

I'm using Confluence Server, version 7.10.2, by "Insert -> wiki markup".

@transnano
Copy link
Owner

@zhongluqiang Thank's

That point is correct.
I'm aware of the bug, but I'm thinking about how to fix it.

What you can do now is use code blocks or inline code blocks.

ex)

int a[5] = {1, 2, 3, 4, 5};

In the near future, we will take this bug seriously and improve it.

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

2 participants