You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Jordan Zimmerman (JIRA)" <ji...@apache.org> on 2009/05/07 01:48:30 UTC
[jira] Commented: (SHINDIG-1048) opensocial-templates container.js
has comments that, somehow, are getting interpreted
[ https://issues.apache.org/jira/browse/SHINDIG-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706665#action_12706665 ]
Jordan Zimmerman commented on SHINDIG-1048:
-------------------------------------------
FYI - an example gadget has this in the module:
<Require feature="opensocial-templates" />
Here's a snippet of template code:
<script autoUpdate="true" name="SimpleList" type="text/os-template"><table border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td valign="middle"><span class="span" onclick="sc_simple_list_scrollLeft()" style="cursor: pointer; "><img alt="" border="0" src="http://ccimg.shop.com/images/myshop09/Green1/msgr1_arrowLeft.gif" title=""/></span></td><td><span class="span" id="item0"></span><span class="span" id="item1"></span><span class="span" id="item2"></span><span class="span" id="item3"></span></td><td valign="middle"><span class="span" onclick="sc_simple_list_scrollRight()" style="cursor: pointer; "><img alt="" border="0" src="http://ccimg.shop.com/images/myshop09/Green1/msgr1_arrowRight.gif" title=""/></span></td></tr>
</table>
</script>
> opensocial-templates container.js has comments that, somehow, are getting interpreted
> -------------------------------------------------------------------------------------
>
> Key: SHINDIG-1048
> URL: https://issues.apache.org/jira/browse/SHINDIG-1048
> Project: Shindig
> Issue Type: Bug
> Components: Javascript
> Affects Versions: trunk
> Reporter: Jordan Zimmerman
> Fix For: trunk
>
>
> The sample usage comments in SHINDIG/features/src/main/javascript/features/opensocial-templates/container.js are somehow getting processed such that all my OS templates are ruined. Instead of rendered templates, the raw templates get output. If I change the "<" and ">" in that comment to entities, the problem goes away.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.