title: How to determine the value of a variable extends to one line or several lines?
body: <p>I am using liquid to format some data into a document. I am fetching the value of a     variable and printing it and just after that i want to put a border line. The problem is that if it is of one line then there is no problem but if the {{ business.name }} extends to several lines, then there is problem in printing of border line, since border line is printed just after first line. </p>
  
  <p>How can we determine that the value of the variable extends to several lines or one line, so that i could place the border line according to that.</p>
  
  <pre><code>&lt;div&gt; {{ business.name }} &lt;/div&gt; 
  &lt;div class="border-top"&gt; &lt;/div&gt;
  </code></pre>