From 2e5503ebe5297f5a0add32ee17b03c7e365d0b0c Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 5 May 2010 18:29:42 -0400 Subject: texpdf, special word optional break point detail --- lib/sisu/v2/texpdf_format.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/sisu/v2/texpdf_format.rb b/lib/sisu/v2/texpdf_format.rb index 2beb49b0..1d2e891f 100644 --- a/lib/sisu/v2/texpdf_format.rb +++ b/lib/sisu/v2/texpdf_format.rb @@ -1101,7 +1101,7 @@ WOK def special_word_break_points str=@txt str.gsub!(/([_,.;:\/|=])/,'\1\-') - #str.gsub!(/([_,.;:|=])/,'\1\-') + str.gsub!(/(--)(\S{4,)/,'\1\-\2') @txt=str end def special_number_break_points -- cgit v1.2.3