diff --git a/diamond_manual.pdf b/diamond_manual.pdf
index 47490673..197075bf 100644
Binary files a/diamond_manual.pdf and b/diamond_manual.pdf differ
diff --git a/src/ChangeLog b/src/ChangeLog
index 2dbaf842..7fbfc1cb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,6 @@
[0.9.18]
- Optimized output writing performance.
+- Fixed a bug in the XML output format.
[0.9.17]
- Fixed a compiler error on FreeBSD.
diff --git a/src/basic/basic.cpp b/src/basic/basic.cpp
index eb8547e8..1ed1e6c2 100644
--- a/src/basic/basic.cpp
+++ b/src/basic/basic.cpp
@@ -24,7 +24,7 @@ along with this program. If not, see .
#include "sequence.h"
#include "masking.h"
-const char* Const::version_string = "0.9.17";
+const char* Const::version_string = "0.9.18";
const char* Const::program_name = "diamond";
const char* Const::id_delimiters = " \a\b\f\n\r\t\v\1";
diff --git a/src/basic/const.h b/src/basic/const.h
index b988684c..601dea81 100644
--- a/src/basic/const.h
+++ b/src/basic/const.h
@@ -23,7 +23,7 @@ struct Const
{
enum {
- build_version = 118,
+ build_version = 119,
seedp_bits = 10,
seedp = 1<