Webpy: Variables not showing properly in html
<p>I'm getting an error while using webpy, my string is "No client", but when opening html in browser i get only 'No', the white space and rest of string is lost! What I'm doing wrong?</p>

<p>This is what is in the .html part:</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input type="text" placeholder= $:name2 value= $:name2 name="name3" id="nome3" readonly&gt;</code></pre>
</div>
</div>
</p>

<p>I tried $:name2 and $name2, maybe because of some string format.</p>

<p>I think you just need to put quotes around the values. Your example should become:</p>

<pre><code>&lt;input type="text" placeholder="$:nome2" value="$:nome2" name="nome3" id="nome3" readonly&gt;
</code></pre>

python html web.py