Rather than checking uniqueness of a document on the title (currently assumed to be the first line), add timestamp during creation and make this timestamp the unique identifier of the document.
(or some other method that doesn't check whether a document already exists solely based on its title)
Rather than checking uniqueness of a document on the title (currently assumed to be the first line), add timestamp during creation and make this timestamp the unique identifier of the document.
(or some other method that doesn't check whether a document already exists solely based on its title)