Commit a1cec55d authored by Vidjil Team's avatar Vidjil Team

js/builder.js: textarea directly renders '\n'

parent 8ba52a15
......@@ -645,7 +645,7 @@ Builder.prototype = {
text_span = document.createElement('textarea');
text_span.id = id;
text_span.className = 'info_container';
text_span.innerHTML = info.replace(/\n/g, '<br />');
text_span.innerHTML = info ;
text_span.setAttribute('placeholder', placeholder);
container.appendChild(text_span);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment