[Discusion] guide-line to template (code-)formation #4682

Closed
opened 2025-11-02 05:59:20 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @6543 on GitHub (Jan 19, 2020).

as title ...

mainly about text indent

rev: https://github.com/go-gitea/gitea/pull/9857#pullrequestreview-344996338

the outcome should be documented in CONTRIBUTING.md

Originally created by @6543 on GitHub (Jan 19, 2020). as title ... mainly about text indent rev: https://github.com/go-gitea/gitea/pull/9857#pullrequestreview-344996338 the outcome should be documented in **CONTRIBUTING.md**
GiteaMirror added the type/docs label 2025-11-02 05:59:20 -06:00
Author
Owner

@6543 commented on GitHub (Jan 19, 2020):

@zeripath :

we probably need to think more carefully about this indentation in templates.
If you indent the here - the html output from the template is malindented.

Yes raw html could have a indent to mouch usw ...
but the browser can handle this ...
... I think a redable go-template is more importand than the produced html (my opinion)

@6543 commented on GitHub (Jan 19, 2020): @zeripath : > we probably need to think more carefully about this indentation in templates. > If you indent the here - the html output from the template is malindented. Yes raw html could have a indent to mouch usw ... but the browser can handle this ... ... I think a redable go-template is more importand than the produced html (my opinion)
Author
Owner

@stale[bot] commented on GitHub (Mar 19, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Mar 19, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@6543 commented on GitHub (Oct 24, 2020):

no reaction ... not importand - let the IDE decide

@6543 commented on GitHub (Oct 24, 2020): no reaction ... not importand - let the IDE decide
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4682