[ 
https://issues.apache.org/jira/browse/SHINDIG-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Winer closed SHINDIG-1077.
-------------------------------

    Resolution: Won't Fix

> parsing OpenSocial Templates markup in gadgets without enabled 
> opensocial-templates feature?
> --------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-1077
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1077
>             Project: Shindig
>          Issue Type: Question
>          Components: Java
>    Affects Versions: trunk
>            Reporter: Márton Salomváry
>            Priority: Minor
>
> SocialMarkupHtmlParser shouldn't parse <script type="text/os-template"> 
> content if <Require feature="opensocial-templates"> is not present in gadget 
> xml.
> Otherwise it might break backward compatibility with alternative javascript 
> template implementations, eg: 
> http://ostemplates-demo.appspot.com/ostemplates.js
> Example:
> Having this in gadget xml <Content>:
> <!DOCTYPE html>
> <html>
> <head>
> <script type="text/os-template" name="foo">
>       <p>
>       template in head <br/>
>       viewer: ${Viewer.id}
>       </p>
> </script>
> </head>
> <body>
> ...
> results the following output:
> ...
> <script name="foo" type="text/os-template">
>       </script><BODY><p>
>       template in head <br>
>       viewer: ${Viewer.id}
>       </p>
> </BODY>
> ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to