This copies code from the xml2rst to escape rST strings. Hopefully this will be more robust than what we've done so far. I really wish docutils would have utils for this directly, seems kinda essential. Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9917>
12 KiB
Executable File
12 KiB
Executable File