Change
Whitespace perfect HTML
Developer comments
Intendation was changed to tabs throughout the codebase. Biggest difficulty in PHP are long SQL statements which are rare, but superlong due to the nature of associations.
HTML formatting is making good progress, but [12288, one obstacle] came in the way and blocks the perfect whitespace in HTML output. The increase in readabilty in the HTML source is massive and worth the effort. There is so many things you do not see in a tree rendering of the DOM. The visible structure in the document at a glance makes it easier to spot oddities. Hit Ctrl+U and see for yourself.
Why tabs? After almost 30 years of spaces, it is tabs now. Ever heard someone discuss 2 tabs or 4 tabs. No? That is why.
These are the rules for the HTML markup produced by Topincs. They are checked by tests.
* There should be no empty lines.
* Any whitespace at the beginning of a line should consist of tabs only. The indentation level is the number of tabs.
* The change in indentation level should never be more than 1.
* A line starting with a closing HTML tag must decrease the indentation level.
* Multiline inlined scripts should start one line below their containing tag.
|
Work sessions15
Start |
2023-10-05T08:00:00
|
End |
2023-10-05T16:55:03
|
Participant |
Robert Cerny
|
Start |
2023-10-04T13:00:00
|
End |
2023-10-04T15:00:00
|
Participant |
Robert Cerny
|
Start |
2023-10-05T19:40:00
|
End |
2023-10-05T20:51:11
|
Participant |
Robert Cerny
|
Start |
2023-10-08T08:43:11
|
End |
2023-10-08T09:43:20
|
Participant |
Robert Cerny
|
Start |
2023-10-08T10:10:00
|
End |
2023-10-08T13:15:31
|
Participant |
Robert Cerny
|
Start |
2023-10-08T13:50:14
|
End |
2023-10-08T17:04:56
|
Participant |
Robert Cerny
|
Start |
2023-10-08T19:05:04
|
End |
2023-10-08T20:05:09
|
Participant |
Robert Cerny
|
Start |
2023-10-09T06:35:11
|
End |
2023-10-09T09:03:51
|
Participant |
Robert Cerny
|
Start |
2023-10-09T10:00:00
|
End |
2023-10-09T16:02:05
|
Participant |
Robert Cerny
|
Start |
2023-10-11T07:40:40
|
End |
2023-10-11T09:46:27
|
Participant |
Robert Cerny
|
Start |
2023-10-12T07:00:00
|
End |
2023-10-12T10:19:29
|
Participant |
Robert Cerny
|
Start |
2023-10-13T17:50:04
|
End |
2023-10-13T18:47:30
|
Participant |
Robert Cerny
|
Start |
2023-10-13T21:45:53
|
End |
2023-10-13T22:20:21
|
Participant |
Robert Cerny
|
Start |
2023-10-14T05:30:00
|
End |
2023-10-14T09:53:49
|
Participant |
Robert Cerny
|
Start |
2023-10-16T10:24:42
|
End |
2023-10-16T12:24:48
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.