fix doc escaping