Forum: Ruby on Rails Mysterious Javascript showing up & trashing page

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
0ab8551a9be1aa3937ef3b86ccb0e293?d=identicon&s=25 Jacki Rivero (jrivero)
on 2007-06-05 20:34
Every time I edit a particular page, a bit of javascript myseteriously
shows up when I save it. After that, the page does not lie correctly,
and the items at the end of the list are covered over by elements from
the stylesheet.  The script is as follows:

<p>&nbsp; </p>
<p align="center"><font face="Times New Roman"><font size="5"><font
color="#339966" size="6"><strong>Lectures, Workshops &amp;
<p align="center"><font face="Times New Roman" size="3"><font
color="#800080" size="5"><img class="light" style="FLOAT: right"
height="127" alt="Activities Page Photo Banner" hspace="3" width="500"
border="0" src="/userFiles/Image/Activities_Banner(1).jpg" /><em><font
color="#000000" size="3">Heritage offers a full schedule of programming
for everyone ! <br />
</font><br />
</em></font>Below is a list of workshops and activities for
non-children.&nbsp; Click on any of the topics to get the full
<p><font face="Times New Roman" size="3"><font color="#339966"
size="4">Garden Activities</font><br />
<a href="
Walking Club</a> -<em> for Members only</em><br />
<a href="">Yoga in the
Gardens</a>, with Catherine Paulson<br />
in the Gardens</a><br />
<a href="
Trough Workshop</a> <br />
<a href="">...
Flower Arranging Workshop</a>, with Kaye Vosburgh<em><br />
</em><a href="">...
Croquet Club</a><br />
<a href="
Garden Tour</a> - the private gardens of Chatham</font></p>
<p><font face="Times New Roman" size="3"><font color="#800000"><font
size="4">Workshops</font><br />
href="">... Flower
Arranging</a>, with Kaye Vosburgh<br />
Photography</a>, with Michael Dallaire. <font
color="#ff0000"><strong>SOLD OUT!</strong></font> <font size="2"><em>Due
to the popularity of this workshop, we will be holding another on this
Fall. Please call 508.888.3300, x-134 for more details. <br />
Trough Workshop</a><br />
<a href="">Yoga in the
Gardens</a>, &nbsp;with Cathering Paulson<br />
<a href="">...
Workshop, with Bob Kroeger</a></font></p>
<p><font face="Times New Roman" size="3"><font color="#ff6600"
size="4">Lectures</font><br />
in the Gardens</a></font></p>
<p><font face="Times New Roman" size="3"><font size="4"><strong><font
color="#ff0000">Concerts<br />
American Echos Concert Series</a><br />
Music Studios<br />
Score Music Studios</a></font></p>
<p><font face="Times New Roman" size="3"><font size="4"><font
color="#000080">Events</font></font><br />
<a href="
Gardens Tour - the Enchanted Gardens of Chatham</a></font><font
face="Times New Roman" size="3"><br />
<a href="/circus_smirkus">Circus Smirkus</a><br />
<a href="
Annual Heritage Cup Golf Tournament</a></font><font face="Times New
Roman" size="3"><br />
<a href="/2007_auto_shows">Auto Shows</a></font><br />

I am not an html/css coder. I am confined to the editor provided by our
web provider. After this page is trashed, I can never edit it again.
I've copied the page and even re-written it from scratch, and the same
thing happens. I figured there has to be something in the last few
lines. Any help would be greatly appreciated. The web provider just
tells me to "stop putting java script into my pages." Since I wouldn't
know javascript if I fell over it, I take this message to mean that I am
on my own with this one. Any help would be greatly appreciated. Thanks
in advance.
83ca41657a99b65d99889abe712ba5e2?d=identicon&s=25 Jason Roelofs (Guest)
on 2007-06-05 21:25
(Received via mailing list)
Well I don't see anything wrong with that bit of HTML, so the problem
stem from a lot of places. It sounds like cross site scripting of some
but it's hard to tell just from the description. It could be a bug with
web app. Tell the developers to look into it, as there's nothing wrong
what you're inputting.

This topic is locked and can not be replied to.