What exactly is SafeHTML doing?

Some times I have a feeling that what Hugo does the most is “circulating URLs to the world” … Getting the URL right in the different situations has proven to be extremely hard, so any mumbo jumbo about the URLs only exsting in the “context of a request” is bullshit.