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

Inline code blocks with coloring incorrectly imported #104

Open
fknorn opened this issue Sep 27, 2023 · 0 comments
Open

Inline code blocks with coloring incorrectly imported #104

fknorn opened this issue Sep 27, 2023 · 0 comments

Comments

@fknorn
Copy link

fknorn commented Sep 27, 2023

In Confluence

<td><code>0x<span style="color: rgb(255,102,0);">2</span>001</code></td>

rendering as

Screenshot 2023-09-27 at 09 04 33

Becomes in XWiki after migration:

|(((
(% style="color:#ff6600" %)2

{{code language="none"}}
0x001
{{/code}}
)))|

which renders as

<td><div><p><span style="color: rgb(255,102,0);">2</span></p><div class="box"><div class="code">0x001</div></div></div></td>

and looks like

Screenshot 2023-09-27 at 09 10 19

😟


Note that this comes from using "Monospace"-Formatting in Confluence. Why don't those get translated into inline "typewriter" style (aka ##typewriter##)? This would be a much closer match both in terms of semantics and formatting?

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