From: Uwe Stöhr Date: Thu, 1 Nov 2007 22:40:31 +0000 (+0000) Subject: lyx_1_6.py: fix for previous commit X-Git-Tag: 1.6.10~7539 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a5c76798878246e6f9944a3efc620be7120a7edc;p=features.git 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 --- 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: