diff --git a/annogen.py b/annogen.py
index 1293a560707fdab5b8228471f90ca43d0d7e9b8c..114835e275c554fb5e5fc985b95c18ba62c02327 100755
--- a/annogen.py
+++ b/annogen.py
@@ -1284,7 +1284,7 @@ void o(int numBytes,string annot) {
   s();
   switch (annotation_mode) {
   case Annotation_Mode.annotations_only:
-    outBuf.Write(annot); break;
+    o(annot); break;
   case Annotation_Mode.ruby_markup:
     o("<ruby><rb>");
     outBuf.Write(inBytes,writePtr,numBytes);