Added [*] for LIST

SVN revision: 1404
This commit is contained in:
Stefan Ritt 2005-06-24 20:36:54 +00:00
parent 0046405d0d
commit 9da4031f93

View File

@ -55,6 +55,8 @@ function elcode1(text, tag, value, selection)
if (tag == '') if (tag == '')
str = selection + value; str = selection + value;
else if (tag == 'LIST')
str = '[LIST]\r\n[*] ' + selection + '\r\n[/LIST]';
else if (value == '') else if (value == '')
str = '['+tag+']' + selection + '[/'+tag+']'; str = '['+tag+']' + selection + '[/'+tag+']';
else else
@ -62,6 +64,8 @@ function elcode1(text, tag, value, selection)
if (tag == '') if (tag == '')
pos = value.length; pos = value.length;
else if (tag == 'LIST')
pos = 11;
else if (value == '') else if (value == '')
pos = tag.length + 2; pos = tag.length + 2;
else else