Indentation of issue markup differs between preview and saved state
### Summary
The preview of an issue description is different from what is shown after it has been saved for list where text needs to break to the next line.
### Steps to reproduce
- Create a new issue
- Create a list in the issue markup with a long line, that needs to be broken
### Example Project
You can see this with this issue:
- A very long line which is indented correctly in preview, but isn't in saved state. kdfhdsjkf djfkhdsj fjdks hfjkdsfjk dsjkfjdks fjkdsh fdjksfhj djfhdkj dhfjdhsfkjd fjk djkfjdk fjk hdskjf hkdsj hfkj dskjf hdsjk fkjds fkj dskjf sdkjh fkjdkjfsdhs kjfshdjkf s.
You can have a look at the roolout steps list of this issue: https://gitlab.com/gitlab-org/gitlab/-/issues/367666
### What is the current *bug* behavior?
```markdown
- Übergabe an ein Skript<br/>
Zusammen mit ggf. Infos zum Ziel. Wir haben da mal was eingebaut,
wo Zusatzinfos aus dem Automat-Teil an den CServer übergeben werden
können, die Einfluss auf z.B. den Ziel-DB haben.
```
**Rendered after saved (indentation wrong):**

### What is the expected *correct* behavior?
**Rendered in preview (indentation ok):**

#### Results of GitLab environment info
<!-- Input any relevant GitLab environment information if needed. -->
<details>
<summary>Expand for output related to GitLab environment info</summary>
<pre>
System information
System: Ubuntu 18.04
Proxy: no
Current User: git
Using RVM: no
Ruby Version: 2.7.5p203
Gem Version: 3.1.4
Bundler Version:2.3.15
Rake Version: 13.0.6
Redis Version: 6.2.7
Sidekiq Version:6.4.0
Go Version: unknown
GitLab information
Version: 15.1.2-ee
Revision: 324ae02f89f
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 13.6
URL: https://xxx
HTTP Clone URL: https://xxx/some-group/some-project.git
SSH Clone URL: git@xxx:some-group/some-project.git
Elasticsearch: no
Geo: no
Using LDAP: yes
Using Omniauth: yes
Omniauth Providers:
GitLab Shell
Version: 14.7.4
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
</pre>
</details>
#### Results of GitLab application Check
<!-- Input any relevant GitLab application check information if needed. -->
<details>
<summary>Expand for output related to the GitLab application check</summary>
<pre>
Checking GitLab subtasks ...
Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 14.7.4 ? ... OK (14.7.4)
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Internal API available: OK
Redis available via internal API: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Gitaly ...
Gitaly: ... default ... OK
Checking Gitaly ... Finished
Checking Sidekiq ...
Sidekiq: ... Running? ... yes
Number of Sidekiq processes (cluster/worker) ... 1/1
Checking Sidekiq ... Finished
Checking Incoming Email ...
Incoming Email: ... Reply by email is disabled in config/gitlab.yml
Checking Incoming Email ... Finished
Checking LDAP ...
LDAP: ... Server: ldapmain
not verifying SSL hostname of LDAPS server 'xxx:636'
LDAP authentication... Success
LDAP users with access to your GitLab server (only showing the first 100 results)
User output sanitized. Found 15 users of 100 limit.
Checking LDAP ... Finished
Checking GitLab App ...
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config up to date? ... yes
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory exists? ... yes
Uploads directory has correct permissions? ... yes
Uploads directory tmp has correct permissions? ... yes
Systemd unit files or init script exist? ... skipped (omnibus-gitlab has neither init script nor systemd units)
Systemd unit files or init script up-to-date? ... skipped (omnibus-gitlab has neither init script nor systemd units)
Projects have namespace: ...
2/1 ... yes
2/2 ... yes
2/3 ... yes
6/5 ... yes
6/6 ... yes
11/7 ... yes
3/8 ... yes
12/9 ... yes
6/10 ... yes
13/11 ... yes
13/12 ... yes
13/13 ... yes
13/14 ... yes
3/15 ... yes
3/16 ... yes
13/17 ... yes
13/18 ... yes
21/19 ... yes
3/20 ... yes
6/21 ... yes
22/22 ... yes
13/23 ... yes
13/24 ... yes
13/25 ... yes
13/26 ... yes
13/27 ... yes
21/28 ... yes
21/29 ... yes
21/30 ... yes
21/31 ... yes
21/32 ... yes
21/33 ... yes
21/34 ... yes
21/35 ... yes
22/36 ... yes
24/37 ... yes
24/38 ... yes
3/39 ... yes
26/40 ... yes
26/41 ... yes
26/42 ... yes
26/43 ... yes
28/44 ... yes
29/45 ... yes
29/46 ... yes
6/47 ... yes
31/48 ... yes
31/49 ... yes
16/50 ... yes
31/51 ... yes
26/52 ... yes
86/53 ... yes
86/54 ... yes
Redis version >= 5.0.0? ... yes
Ruby version >= 2.7.2 ? ... yes (2.7.5)
Git user has default SSH configuration? ... yes
Active users: ... 11
Is authorized keys file accessible? ... yes
GitLab configured to store new projects in hashed storage? ... yes
All projects are in hashed storage? ... yes
Elasticsearch version 7.x-8.x or OpenSearch version 1.x ... skipped (Advanced Search is disabled)
Checking GitLab App ... Finished
Checking GitLab subtasks ... Finished
</pre>
</details>
### Possible fixes
<!-- If you can, link to the line of code that might be responsible for the problem. -->
issue