Complete story — includes the ending
Before Xander and Anya's wedding, Xander's future self suddenly appears, and warns him that his marriage to Anya will be the beginning of a life of disgrace and pain. Xander is shown flashes of the future, convincing him to call it off, but later it is discovered it is only a demon taking revenge on Anyanka from her demon days. Nevertheless, the wedding doesn't go ahead and Anya and Xander break up.
Sources and content license
Source and revision history · Adapted from Wikipedia contributors, Buffy the Vampire Slayer season 6. HTML formatting and reference markers removed. · Content license