From a5c76798878246e6f9944a3efc620be7120a7edc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Thu, 1 Nov 2007 22:40:31 +0000 Subject: [PATCH] lyx_1_6.py: fix for previous commit git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21360 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/lyx_1_6.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/lyx2lyx/lyx_1_6.py b/lib/lyx2lyx/lyx_1_6.py index 1290ca9c2b..3a3fee3a3d 100644 --- a/lib/lyx2lyx/lyx_1_6.py +++ b/lib/lyx2lyx/lyx_1_6.py @@ -533,9 +533,8 @@ def convert_url(document): # grab the name 'bla' from the e.g. the line 'name "bla"', # therefore start with the 6th character name = document.body[n][6:-1] - newname = ["\\begin_layout Standard", - name + " "] - document.body[i-1:i-1] = newname + newname = [name + " "] + document.body[i:i] = newname i = i + 1 j = find_token(document.body, "target", i) if j == -1: -- 2.39.2