32

I was going to clean up this question earlier, but I found something odd: The question begins with "Dear," but when you edit the question it's not there. I forwent editing to not hide a potential bug.

Why isn't the text showing up in edit?

4

1 Answer 1

50

Certain words like "hi", "dear" etc. are automatically removed if they appear at the start of a question.

This was not part of the original features of Stack Overflow so there will be questions that predate this feature that still have these "fluff" words (thanks BradleyDotNET). However, when you edit the post, the "auto-fluff removal" kicks in and deletes the unnecessary verbiage.

In fact the text may have already been removed from the post, but the HTML used to display the post hasn't been regenerated. It's heavily cached for speed. So when you go to edit the post the HTML is recreated and the word disappears.

5
  • 1
    That makes perfect sense. I removed the bug tag from my question.
    – Gary
    Oct 8, 2015 at 20:00
  • 8
    This is not quite accurate: the text is already removed in the DB, but the contents of the post are cached, and only re-fetched when the edit happens. An unimportant difference, but the Meta.SE post I linked above explains the whole thing.
    – jscs
    Oct 8, 2015 at 20:00
  • @JoshCaswell - Oh. I thought it would only happen on a resubmit of the text.
    – ChrisF Mod
    Oct 8, 2015 at 20:00
  • 1
    Background: This feature was added in June 2011. See the original post by Jeff Atwood about this feature (to question Should 'Hi', 'thanks,' taglines, and salutations be removed from posts?). Oct 10, 2015 at 8:49
  • 2
    Sorry to bother you with cross-site clarification, but is your answer (that "automatic removal" part) applicable on other network sites as well? For example, this question still has that "Hi" fluff intact.
    – user47
    Oct 10, 2015 at 23:25

You must log in to answer this question.

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