|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
Using firefox when visiting a site. You can right click on the page and view source. It displays formatted data using wordwrap and is easy to read. I have one site that when you view source it appears as if wordwrap is turned off and all the lines are jumbled together.
Could this be due to someone has edited some of the files outside of UBB manually.
I ask because I am looking at reloading the stock code for this site.
There is not much in the html includes so I suspect that this is the culprit.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Apr 2004
Posts: 1,945 Likes: 145
|
Joined: Apr 2004
Posts: 1,945 Likes: 145 |
Control Panel > Primary > Minify HTML Page Output Minify HTML Page OutputRemove all unnecessary characters from page HTML without changing its functionality. The process removes unnecessary characters which usually include white space characters, new line characters, and comments, which are used to add readability to the code but are not required for it to execute. This process is done in real time. This feature was added in UBB.threads 7.6.1 - 2018-01-01 https://www.ubbcentral.com/changelog.php#761The optional feature is disabled by default.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Sounds like their webserver or a CDN is running through minify, or they have the Minify HTML Page Output feature enabled in UBB.threads. Quoting Wikipedia ( Minification (programming)) Minification (also minimisation or minimization) is the process of removing all unnecessary characters from the source code of interpreted programming languages or markup languages without changing its functionality. These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters, which are used to add readability to the code but are not required for it to execute. Minification reduces the size of the source code, making its transmission over a network (e.g. the Internet) more efficient. In programmer culture, aiming at extremely minified source code is the purpose of recreational code golf competitions.
|
|
|
|
Joined: Dec 2003
Posts: 6,562 Likes: 78
|
Joined: Dec 2003
Posts: 6,562 Likes: 78 |
Wow. That is exactly what is was. They had turned on Minify HTML Page Output in the UBB CP. Thanks
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (Ruben),
866
guests, and
176
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|