diff options
-rw-r--r-- | parse-xml.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c index 494023387..761cc3b41 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -1462,7 +1462,11 @@ static xsltStylesheetPtr try_get_stylesheet(const char *path, int len, const cha static xsltStylesheetPtr get_stylesheet(const char *name) { - const char *path = xslt_path, *next; + const char *path, *next; + + path = getenv("SUBSURFACE_XSLT_PATH"); + if (!path) + path = xslt_path; do { int len; |