simple-doc: Fix reference rendering