Escape XML tags in gi-docgen oriented comment e.g. from <child> to `<child>`, so that they don't become HTML tag on the final webpage. This fix includes everything from commit ff46ea64 and #5312. Fixes #5312