From c9152ed6a6338b6be300c31ffb3a57274923b642 Mon Sep 17 00:00:00 2001 From: henrikjust Date: Fri, 22 Jul 2011 10:06:19 +0000 Subject: [PATCH] w2l bugfix: Correct treatment of URL decoded characters (%xy) in links - now also in footnotes git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@117 f0f2a975-2e09-46c8-9428-3b39399b9f3c --- source/java/writer2latex/latex/FieldConverter.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/java/writer2latex/latex/FieldConverter.java b/source/java/writer2latex/latex/FieldConverter.java index 486e2d9..1741e5c 100644 --- a/source/java/writer2latex/latex/FieldConverter.java +++ b/source/java/writer2latex/latex/FieldConverter.java @@ -20,7 +20,7 @@ * * All Rights Reserved. * - * Version 1.2 (2011-07-20) + * Version 1.2 (2011-07-22) * */ @@ -939,11 +939,12 @@ public class FieldConverter extends ConverterHelper { return ", "+sName+"="+palette.getI18n().convert(sValue,false,palette.getMainContext().getLang()); } - // For href within footnote, we have to escape the # + // For href within footnote, we have to escape the # and % characters private String escapeHref(String s) { StringBuffer buf = new StringBuffer(); for (int i=0; i