script blocks get munged
how can javascript be preserved in a post? right now it get's munged when served, e.g. HTML is put in script and characters are converted to literal.
2
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The company marked this question as answered.
The best answer from the company
-
Here is the test post:
http://testtesttest.gluenow.com/feeds...
and this is the text I'm using:
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when
<notextile>
<form>
<input type="button" value="Confirmation Alert" />
</form>
</notextile>
It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem
<notextile>
</notextile>http://gluenow.com?one&two
</notextile>
through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, Lorem ipsum dolor sit amet.., comes from a line i
The company says
this answers the question
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?You can surround your JavaScript with the notextile tag.
-
Inappropriate?RickDog,
Let us know if that helps at all or if you need further assistance. We're here to help. :)
I’m here to help.
-
Inappropriate?<notextile></notextile> almost works, it still converts ampersands to &
A workaround for strings is:
var amp = "&"[0]; // picks off the first character, a single ampersand.
// strings containing ampersands must now be assembled
var url = "http://example.com?one" + amp + "two";
// there is no workaround for logical operators using ampersands -
this evening I will make the <notextile> work, thanks for the example.</notextile> -
sorry Rick, I gotta do this first thing tomorrow... I'll get back to you after it's ready to go. Thanks! -
okay Rick, I think I fixed it. (see the next comment) -
Inappropriate?Here is the test post:
http://testtesttest.gluenow.com/feeds...
and this is the text I'm using:
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when
<notextile>
<form>
<input type="button" value="Confirmation Alert" />
</form>
</notextile>
It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem
<notextile>
</notextile>http://gluenow.com?one&two
</notextile>
through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, Lorem ipsum dolor sit amet.., comes from a line i
The company says
this answers the question
-
Inappropriate?It works great! You guys did a fantastic job, you were right on it. Your level of attention to user requests and needs is something not seen often in the industry. Thanks much for your help
-
Thanks so much! We try hard to address our user's needs quickly when we can.
It's great to hear you comments and makes the hard work worthwhile.
Let us know if you need anything else.
- Jordan & Glue Team
Loading Profile...



EMPLOYEE
EMPLOYEE