Previous Thread
Next Thread
Print Thread
Hop To
#265372 06/26/2022 2:52 PM
Joined: Dec 2003
Posts: 6,628
Likes: 85
Joined: Dec 2003
Posts: 6,628
Likes: 85
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,973
Likes: 154
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,973
Likes: 154
Control Panel > Primary > Minify HTML Page Output

Minify HTML Page Output
Remove 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#761

The optional feature is disabled by default.


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.0.1
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jun 2006
Posts: 16,364
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,364
Likes: 126
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.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,628
Likes: 85
Joined: Dec 2003
Posts: 6,628
Likes: 85
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

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Post Counts zeroed out
by Baldeagle - 11/03/2024 3:05 PM
Upgraded to ver8 - now can't login
by phoenix011235 - 10/24/2024 7:50 AM
Very weird error this morning.
by Baldeagle - 10/23/2024 4:35 PM
Help error and stop forum spam
by ehill - 10/23/2024 11:13 AM
Very slow web server response times
by Baldeagle - 10/18/2024 3:22 PM
Who's Online Now
2 members (Baldeagle, Ruben), 796 guests, and 56 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)