Originally from BZ#1089869. I see the same issue for asciidoc so presumably the same underlying problem. I imported a short .adoc file and topic1 was created. I extended the same .adoc file with more text and on import two new topics were created, where the first contained exact duplicate docbook of topic1. So topic reuse did not occur. See topic [34699] and [34700].
The test base in BZ#1095590 does this as well.
Fixed in Build 1.7-SNAPSHOT 201406111207 Asciidoctor was generating a lot of hex entities, like ‘ for a single quote. These were being converted back, but this conversion back was not taken into account when testing xml files for equality.
Verified that topics are now being reused correctly.