From bd2be3a3b39927e5449e83dacffa7c312352db7e Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Mon, 8 May 2006 03:57:05 +0000 Subject: [PATCH] Add support for more characters to hyphen on when ulink.hyphenate is turned on. --- xsl/params/ulink.hyphenate.chars.xml | 32 ++++++++++++++++++++++++++++ xsl/params/ulink.hyphenate.xml | 4 +++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 xsl/params/ulink.hyphenate.chars.xml diff --git a/xsl/params/ulink.hyphenate.chars.xml b/xsl/params/ulink.hyphenate.chars.xml new file mode 100644 index 000000000..d27c7b364 --- /dev/null +++ b/xsl/params/ulink.hyphenate.chars.xml @@ -0,0 +1,32 @@ + + +ulink.hyphenate.chars +string + + +ulink.hyphenate.chars +List of characters to allow ulink URLs to be automatically hyphenated on + + + + + + + + +Description + +If the ulink.hyphenate is not empty, then +hyphenation of ulinks is turned on, and any +character contained in this parameter is treated as an allowable +hyphenation point. + +The default value is /, but the parameter +could be customized +to contain other URL characters, as for example: + +<xsl:param name="ulink.hyphenate.chars">:/@&?.#</xsl:param> + + + + diff --git a/xsl/params/ulink.hyphenate.xml b/xsl/params/ulink.hyphenate.xml index 4c4fc84f3..1838777d3 100644 --- a/xsl/params/ulink.hyphenate.xml +++ b/xsl/params/ulink.hyphenate.xml @@ -17,7 +17,9 @@ Description If not empty, the specified character (or more generally, content) is -added to URLs after every /. If the character specified is a +added to URLs after every character included in the string +in the ulink.hyphenate.chars parameter (default +is /). If the character in this parameter is a Unicode soft hyphen (0x00AD) or Unicode zero-width space (0x200B), some FO processors will be able to reasonably hyphenate long URLs. -- 2.40.0