SandBox: Difference between revisions
Jump to navigation
Jump to search
(test extension WikifyWeb with a for Aipedia) |
mNo edit summary |
||
Line 89: | Line 89: | ||
link = myArray[0]; | link = myArray[0]; | ||
linkTextArray = [link, ' (e', ' w', ' t', ' h, a)']; | linkTextArray = [link, ' (e', ' w', ' t', ' h', 'a)']; | ||
span.appendChild(document.createTextNode(txt.substring(lastLastIndex, myArray.index))); | span.appendChild(document.createTextNode(txt.substring(lastLastIndex, myArray.index))); | ||
lastLastIndex = linkpatt.lastIndex; | lastLastIndex = linkpatt.lastIndex; |