# \[solved\] Indentation Broken In Code View

**URL:** <https://forum.gitea.com/t/solved-indentation-broken-in-code-view/3751>\
**Category:** Install/Maintain/Configure\
**Created:** [September 11, 2021, 5:50pm UTC](https://forum.gitea.com/t/solved-indentation-broken-in-code-view/3751 "2021-09-11T17:50:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jralph](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@jralph](https://forum.gitea.com/u/jralph)\
**Post date:** [September 11, 2021, 5:50pm UTC](https://forum.gitea.com/t/solved-indentation-broken-in-code-view/3751/1 "2021-09-11T17:50:19Z")

</div>

```
[root@jasonralph-centos8 bin]# ./gitea --version
Gitea version 1.15.2 built with GNU Make 4.1, go1.16.7 : bindata, sqlite, sqlite_unlock_notify
[root@jasonralph-centos8 bin]# 

```

Hello all,  
Forgive me if this has been asked before, I see a fix for indentation in the release notes.  
I am running the latest version of gitea on centos8, all works well except indentation in the highlighted view, the raw file view shows the correct indentation. I use 4 spaces not tabs in my python code so not sure whats up, is there a workaround? Is this a known issue?

 ![gitea-indentation](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/d/de00e3114dd43e327e41f8c309bfc6f278c39d06.jpeg)

---

<div class="post-metadata">

**Author:** ![techknowlogick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/techknowlogick/32/4706_2.png) [@techknowlogick](https://forum.gitea.com/u/techknowlogick)\
**Post date:** [September 12, 2021, 2:23am UTC](https://forum.gitea.com/t/solved-indentation-broken-in-code-view/3751/2 "2021-09-12T02:23:56Z")

</div>

You wouldn’t happen to use cloudflare would you? Their “minification” filter will mess with indentation.

If you don’t use CF could you mention the reverse proxy you do use?

---

<div class="post-metadata">

**Author:** ![jralph](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@jralph](https://forum.gitea.com/u/jralph)\
**Post date:** [September 12, 2021, 11:52am UTC](https://forum.gitea.com/t/solved-indentation-broken-in-code-view/3751/3 "2021-09-12T11:52:26Z")

</div>

Why yes, yes I do use cloud flare. I toggled the auto minify settings under SPEED menu and that fixed it. Thank you so much for your reply, now I need to dig into the cloud flare minify docs and see if I can exclude my git url. Have a great day.

---

<div class="post-metadata">

**Author:** ![techknowlogick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/techknowlogick/32/4706_2.png) [@techknowlogick](https://forum.gitea.com/u/techknowlogick)\
**Post date:** [September 12, 2021, 4:16pm UTC](https://forum.gitea.com/t/solved-indentation-broken-in-code-view/3751/4 "2021-09-12T16:16:19Z")

</div>


