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

Fenced code block renders incorrectly #18391

Closed
rootkea opened this issue Aug 4, 2021 · 1 comment
Closed

Fenced code block renders incorrectly #18391

rootkea opened this issue Aug 4, 2021 · 1 comment
Labels

Comments

@rootkea
Copy link

rootkea commented Aug 4, 2021

Hello!

This is the markup text I entered in Element:

```
include <bits/stdc++.h>
using namespace std;

void bubbleSort(int arr[], int n)
{
	int i, j;
	for (i = 0; i < n-1; i++)
	for (j = 0; j < n-i-1; j++)
		if (arr[j] > arr[j+1])
			swap(&arr[j], &arr[j+1]);
}
```

And this is the o/p I get:
Screenshot_2021-08-04_23-33-42

I expected the o/p to have same indentation as that of above markup text with syntax highlighting.

Version information

  • Platform: web (in-browser)

For the web app:

  • Browser: Firefox 90.0 (64-bit)
  • OS: Ubuntu 20.04.2 LTS
  • URL: app.element.io
@robintown
Copy link
Member

Duplicate of #18365

@robintown robintown marked this as a duplicate of #18365 Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants