Hi guys,
I'm trying to pass a form variable that has some html formatting in it.
I'm wanting to figure out a way to keep the formatting text from breaking my variables. For example, when I populate the value of the following input tag, and that variable is processed, it breaks it.
How can I wrap my variable so that the content of the variable doesn't break the input tag?
<INPUT class="input" type="hidden" name="body" value="#message#">
Processed as -->
<INPUT class="input" type="hidden" name="body" value="
<pre>
<strong>Hey Buddy, </strong></pre>
<pre>I was thinking that it was a good idea. </pre>
<pre>Sincerely, </pre>
<pre><span style="color: #2f4f4f">Jason</span></pre>
">
With it being processed the way it does, I'm having an unwanted block of text displayed on screen.
"> Jason
How can I fix this?
I'm trying to pass a form variable that has some html formatting in it.
I'm wanting to figure out a way to keep the formatting text from breaking my variables. For example, when I populate the value of the following input tag, and that variable is processed, it breaks it.
How can I wrap my variable so that the content of the variable doesn't break the input tag?
<INPUT class="input" type="hidden" name="body" value="#message#">
Processed as -->
<INPUT class="input" type="hidden" name="body" value="
<pre>
<strong>Hey Buddy, </strong></pre>
<pre>I was thinking that it was a good idea. </pre>
<pre>Sincerely, </pre>
<pre><span style="color: #2f4f4f">Jason</span></pre>
">
With it being processed the way it does, I'm having an unwanted block of text displayed on screen.
"> Jason
How can I fix this?