diff --git a/index.html b/index.html index 3c42035..de6a5fd 100755 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - + Smart Contract Creator @@ -55,7 +55,7 @@
- Create Smart Contract with the name @
of the type + Create Smart Contract with the name @
of the type * using the asset # at the address $ with contract-conditions: (1) contractAmount= (2) userChoices= (3) expiryTime= @@ -99,7 +99,7 @@ /* Get the text from form and create new element for copying */ var copyText = document.getElementById("nl-form"); var textarea = document.createElement('textarea'); - textarea.value = copyText.innerText.slice(0, -5); + textarea.value = copyText.innerText.slice(0, -5).replace(/\n/g, " "); document.body.appendChild(textarea);