18th Brumaire not being translated till decades later makes this unlikely, but if Hugo was aware of it, the not-so-indirect accusation of bad faith in it could have given him a personal reason to be annoyed with Marx. "Victor Hugo, out of pretended liberalism..." However, it's a throwaway reference in a single line buried in a long article in a foreign language; I doubt he knew or cared.
Here day embraces night, and says: I will die with you and you will be reborn with me. From the heavy embrace of all desolations springs faith.
The real name of devotion is disinterestedness.