Fix crasher in rt-testing

* This scenario only manifests in roundtrip-test mode where
  auto-inserted tags will get skipped and leads to unbalanced
  quotes.

Change-Id: Ic51b9b9350b652ed51c44af42273b5fdfedb1866
Ex: node roundtrip-test.js --prefix eswiki H-kayne