mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added [*] for LIST
SVN revision: 1404
This commit is contained in:
parent
0046405d0d
commit
9da4031f93
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user