From f068a0287173ccdd491c56e60981694f6fec1939 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Mon, 1 Sep 2008 09:33:17 +0000 Subject: [PATCH] Added new param email.mailto.enabled for FO output. Patch from Paolo Borelli. Closes #2086321. --- xsl/fo/inline.xsl | 15 ++++++++++++++- xsl/fo/param.ent | 1 + xsl/fo/param.xweb | 2 ++ xsl/params/email.mailto.enabled.xml | 29 +++++++++++++++++++++++++++++ 4 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 xsl/params/email.mailto.enabled.xml diff --git a/xsl/fo/inline.xsl b/xsl/fo/inline.xsl index 01e39d7fa..7679af8a9 100644 --- a/xsl/fo/inline.xsl +++ b/xsl/fo/inline.xsl @@ -992,7 +992,20 @@ < - + + + + + mailto: + + + + + + + + > diff --git a/xsl/fo/param.ent b/xsl/fo/param.ent index 61454fd5b..097b708b6 100644 --- a/xsl/fo/param.ent +++ b/xsl/fo/param.ent @@ -54,6 +54,7 @@ + diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index d89b07d5c..fbb6c5ddc 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -259,6 +259,7 @@ generate.section.toc.level; &highlight.xslthl.config; &highlight.default.language; &email.delimiters.enabled; +&email.mailto.enabled; §ion.container.element; Graphics @@ -605,6 +606,7 @@ around all these parameters. + diff --git a/xsl/params/email.mailto.enabled.xml b/xsl/params/email.mailto.enabled.xml new file mode 100644 index 000000000..e4eb8d108 --- /dev/null +++ b/xsl/params/email.mailto.enabled.xml @@ -0,0 +1,29 @@ + + +email.mailto.enabled +boolean + + +email.mailto.enabled +Generate mailto: links for email addresses? + + + + + + + + +Description + +If non-zero the generated output for the email element +will be a clickable mailto: link that brings up the default mail client +on the system. + + + -- 2.40.0