<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>I've looked a lot at chatola, and it's been a really good learning experience.  But, chatola, as shipped is broke - at least on firefox 2 on OS X.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The problem occurs because athena is not correctly escaping quotes in the filled stan templates.   So, if any of your messages contain single quotes, you get a javascript error.  Also - any use of the change nick or change topic automatically includes single quotes into a message string, and thus breaks when interpreted as javascript.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>A stupid simple fix is to simply change the %r interpolation on lines 90 and 98 of chatola.py to something like %s:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>            self.content(changer, 'changed the topic to %r.' % (topic, )))</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>becomes</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>            self.content(changer, 'changed the topic to %s.' % (topic, )))</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>or even</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>            self.content(changer, 'changed the topic to "%s"' % (topic, )))</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Now at least, you're not breaking automatically whenver changing topic or nickname.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>And then I could write custom code to properly escape the quotes in the stan template.  But this violates some cental ideas that at least some of you have - namely that you don't want the application developer escaping quotes.  And I assume if I do this, it could easily break in the future.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I can explain in greater detail, but am throwing this out as is so that it's not too long to read ;)  I can also send a code snippet if you don't want to use the chatola code.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Dav Clark</DIV><DIV>917-544-8408</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV><BR><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Dav Clark</DIV><DIV>917-544-8408</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>