Henry: I saw her ankles.
Captain Jack Sparrow: You would've seen a lot more if you kept your cakehole shut.
Jack Sparrow says he loves the French because "they invented mayonnaise." The film is set in the 1750s. The egg-based sauce known as mayonnaise was developed in the early 1800s. The Oxford English Dictionary says the word dates from 1815.
The ship we see Jack on in Salazar's flashback is called the Wicked Wench. This is a bit of an in-joke for PotC buffs, because that was the original name of the Black Pearl before being sunk by Cutler Beckett and raised again by Davy Jones. It's fully explained in a deleted scene of At World's End.