doc: dont lose title while sanitizing markup