title: Django template tag inside HTML input tag (value attribute)
body: <p>Is there any way for template tags of the <code>{% %}</code> sort to work in the <code>&lt;input type="submit"&gt;</code> HTML tag?</p>
  
  <p>For instance, imagine the variable <code>text</code> contains <code>You're cool :-)</code>, and I have a custom template tag that turns <code>:-)</code> into the corresponding custom emoji I've designed. </p>
  
  <p>Then, the following wouldn't work, would it: <code>&lt;input type="submit" name="text" value="{% emoticons %}{{ text }}{% endemoticons %}"&gt;</code></p>
  
  <p>I understand I can also use <code>&lt;button type="submit" name="text"&gt;{% emoticons %}{{ text }}{% endemoticons %}&lt;/button&gt;</code>, but a button fundamentally doesn't overflow elegantly to the next line like regular text does, hence I'm trying to avoid it. </p>
  
  <p>Anyone got a neat workaround to this? Much appreciated. </p>