Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 155 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I just noticed that depending on where a link falls in the Personal Statement preview text in the Private View, it can cause a truncation.

For example, entering the following dummy text in the Personal Statement box in the Edit CV form:

Suspendisse tellus felis, fringilla at ad [sd-des](http://www.example.com). ut auctor eleifend, elit tellus malesuada magna, nec pharetra dui neque quis [euismod](http://www.example.com) in sed ligula.

Ends up looking like this in the source code:

<div class="summary"><p>Suspendisse tellus felis, fringilla at ad <a href="http://www.example.com" rel="nofollow">sd-des</a>. ut auctor eleifend, elit tellus malesuada magna, nec pharetra dui neque quis <a href="http://w&hellip;</div>

Where the ellipsis code crashes into the anchor code and results in the text not displaying on the page correctly. Not sure if links are allowed there, but I thought I'd mention it.

share|improve this question
1  
FWIW, this effect also occurs on the employer search result page. Brent Ozar's entry was the one where I noticed this. – Chris Farmer Nov 24 '09 at 17:28
up vote 2 down vote accepted

This is complicated -- but I'll just call the SanitizeHtml() function again to strip any HTML that is broken by the summary truncation.

Won't be deployed until Monday, FYI.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .