ref: c19c2031e98f7f5844c177156847d29f3c47157d
parent: d82b300c148b52471603d9b77cd46d0955946f09
author: qwx <[email protected]>
date: Wed Jun 12 22:45:57 EDT 2024
page: use svg for any xml file
--- a/sys/src/cmd/page.c
+++ b/sys/src/cmd/page.c
@@ -729,6 +729,7 @@
"application/troff", popengs, "lp -dstdout",
"text/plain", popengs, "lp -dstdout",
"text/html", popengs, "uhtml | html2ms | tbl | troff -ms | lp -dstdout",
+ "text/xml", popenimg, "svg",
"application/dvi", popengs, "dvips -Pps -r0 -q1 /fd/0",
"application/doc", popengs, "doc2ps",
"application/zip", popentape, "fs/zipfs",