Dokuwiki writer:  More idiomatic code for escaping.