Comments (5)
Yeah, I realized later that that option sets the tabs size during editting, which makes sense.
But the visualization still looks a bit off. I used 4 spaces in the entire file, but specially inner indents look like got 1 space. And when I edit the file I see the 4 spaces again, so the information is still there.
I really liked your project and I'd love to contribute, so I tried looking into the frontend to see if I spot the error but I don't get shit about it. I'll try to help with the backend instead 😅
from opengist.
In case someone else comes here with the same issue, @thomiceli's idea was spot on and I was able to fix it by disabling Cloudflare's HTML auto minify:
from opengist.
Hi and thank you!
Currently it behaves like Github Gist and a bit like Vim : when you press tab it indents with the current settings (size and type).
Only the tabs size change dynamically when you change the settings, that's pretty fair for me (atm) because it could be tricky to convert space and tabs.
That said the problem might come from somewhere else since your indentation in the first screen seems to be only one space ..?
from opengist.
Are you using Opengist through a proxy or something that "optimize" html by removing spaces ? Also what browser are you using ? Seems to be front-related
from opengist.
Are you using Opengist through a proxy or something that "optimize" html by removing spaces ? Also what browser are you using ? Seems to be front-related
Those are very good questions and I'm not sure about that... I'm using Firefox (112.0.1) and I'm proxying using nginx with the following config:
server {
listen 443 ssl;
server_name <domain>;
client_max_body_size 10M;
ssl_certificate <path>;
ssl_certificate_key <path>;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://localhost:6157/;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
}
}
from opengist.
Related Issues (20)
- [Feature request] Helm chart HOT 1
- Mermaid diagram causing syntax error
- [Feature request] Proxy Auth
- [Feature Request]: Disable registration HOT 2
- [Feature request]: Custom links in main address bar
- [BUG]: Markdown preview button missing when editing a gist HOT 3
- [FEAT]: Add markdown alerts (admonition) support HOT 7
- Option to hide revisions for public gists + group gists by folders
- Restrict login and registration to OIDC HOT 2
- Opengist Container Shutdown Randomly After update to version v1.7.2 HOT 3
- Rich Text Format HOT 1
- Wrong visibility interaction when RequireLogin = true HOT 2
- Copy to clipboard fails silently with macOS Safari when served remotely via http (not https) HOT 1
- It is recommended to add AI support HOT 2
- Demo HOT 2
- 可以指定用户有修改其他人代码的权限吗?或者允许用户自行创建用户组,可以互相修改代码,保留历史记录。 HOT 1
- Traefik Reverse Proxy & SSH HOT 3
- how to change the page? HOT 1
- export repos HOT 2
- server program will exit when i click the number beside the forks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opengist.