0

How to generate well formatted HTML code in PHP apps?

Is there any library or technique that makes final HTML output with proper spacing?

22nd Sep 2018, 8:16 PM
Ilyosjon Kamoldinov
Ilyosjon Kamoldinov - avatar
4 ответов
23rd Sep 2018, 12:04 AM
Calviղ
Calviղ - avatar
0
Calviղ I wanted to format code when it is genererated using PHP. For example, if you look at Wordpress site HTML code, it is not well formatted becuse it was generated by combining different parts.
23rd Sep 2018, 2:34 PM
Ilyosjon Kamoldinov
Ilyosjon Kamoldinov - avatar
0
it works on php codes too
23rd Sep 2018, 4:07 PM
Calviղ
Calviղ - avatar
0
I mean not copying generated code and formart. I wanted to format code while it is being generated. So when I open a website and see its source the code must be properly formatted.
23rd Sep 2018, 5:05 PM
Ilyosjon Kamoldinov
Ilyosjon Kamoldinov - avatar