From 9da4031f933e8679cd08291ecc23f26912baa7e3 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 24 Jun 2005 20:36:54 +0000 Subject: [PATCH] Added [*] for LIST SVN revision: 1404 --- elcode.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/elcode.js b/elcode.js index 5843586b..24bacd6b 100755 --- a/elcode.js +++ b/elcode.js @@ -55,6 +55,8 @@ function elcode1(text, tag, value, selection) if (tag == '') str = selection + value; + else if (tag == 'LIST') + str = '[LIST]\r\n[*] ' + selection + '\r\n[/LIST]'; else if (value == '') str = '['+tag+']' + selection + '[/'+tag+']'; else @@ -62,6 +64,8 @@ function elcode1(text, tag, value, selection) if (tag == '') pos = value.length; + else if (tag == 'LIST') + pos = 11; else if (value == '') pos = tag.length + 2; else