[squeak-dev] Altitude - Changes to AL-Rendering package stop AjaxCounterExample from working

Colin Putney colin at wiresong.com
Tue Aug 21 04:52:56 UTC 2012


On Mon, Aug 20, 2012 at 12:00 PM, Chris Cunnington
<smalltalktelevision at gmail.com> wrote:

> Changes to the AL-Rendering package allow for escape characters in tag
> attributes. The changes in ALHtml5Tag>>writeOpenInto: to produce that change
> (with the use of XTHtmlEntityWriteStream) but cause the AjaxCounterExample
> to stop working. The double quotes, ", become &quot; and JavaScript becomes
> incomprehensible to the browser.

Whoops. Javascript should be rendered with #raw: and not #text:, since
we don't want Javascript to be entity-encoded. Fixed in
AL-Examples-cwp.10.

Colin


More information about the Squeak-dev mailing list