Previous Thread
Next Thread
Print Thread
Hop To
#265372 06/26/2022 3:52 PM
Joined: Dec 2003
Posts: 6,649
Likes: 88
Joined: Dec 2003
Posts: 6,649
Likes: 88
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: 2,036
Likes: 177
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 2,036
Likes: 177
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.1 // wip: UBB.threads 8.1.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jun 2006
Posts: 16,535
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,535
Likes: 150
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
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,649
Likes: 88
Joined: Dec 2003
Posts: 6,649
Likes: 88
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
Slow Queries - Any Ideas?
by BellaOnline - 10/16/2026 4:34 PM
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
0 members (), 214 guests, and 119 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)