Truncating Text

January 07 2011
January 07 2011

By

We've improved our algorithm for truncating text. There is always the danger that the preview version of the text you are shortening may have HTML in it, and if we simply truncate after X characters it can break the HTML (sometimes with ugly consequences). We had an imperfect work around for a while (that would strip the HTML in those cases just to be safe), but that meant sometimes the preview wouldn't have desired styling. So we just upgraded the function so that it detects and closes the HTML tags so that they are no longer broken. Nice little improvement.


Comments:

Leave a Comment

Name*
Email Help Tip
Website
Comment*
Characters Remaining: 5000
   

Archives

June 10, 2022

Common Questions about Migrating Your Website from 1.0 to 2.0

Common Questions about Migrating Your Website from 1.0 to 2.0
Your website on the retro 1.0 version of our platform will continue to function until at least June 2023, and after that we will keep the old platform working as long as is necessary/reasonable to ...
June 06, 2022

Upgrade Your Old Website to Prevent Lawsuits and Improve Marketing

Upgrade Your Old Website to Prevent Lawsuits and Improve Marketing
Over the last few years, we have been working on the overly ambitious project of rebuilding our Website Builder and Content Management System based on modern coding standards, cutting edge design, ...
June 10, 2022

The New Gutensite Website is Live on Our New Platform!

The New Gutensite Website is Live on Our New Platform!
Did you notice we just launched a new version of our website? Go to https://gutensite.com to see what's new. Look around and imagine how your business could be helped if we transformed your website ...
October 06, 2021

ADA Compliance and Website Accessibility Standards

ADA Compliance and Website Accessibility Standards
In the last few months clients have had a growing paranoia about a growing number of ADA lawsuits (Americans with Disabilities Act) for website accessability. There have been reports of "serial ...
September , 2021

New IDX Widget Going Live for Everyone

As part of our ongoing efforts to improve our system and also stay up to date with the changing technology requirements of each MLS, we have created an entirely new IDX Widget that was released to ...

2022 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

2021 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

2020 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

2019 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

2018 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

2017 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

2016 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

2015 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

2014 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

2013 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

2012 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

2011 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

2010 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

2009 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

2008 Archives

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec