AngelDoReMi / closure-templates

Automatically exported from code.google.com/p/closure-templates
Apache License 2.0
0 stars 0 forks source link

patch soy.renderAsFragment to work with <tr><td></td></tr> #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The patch adds the ability to work with templates that generate the
following HTML code:

<tr>
  <td>content</td>
</tr>

The patch modifies the soy.renderAsFragment function in the file
soyutils.js to use a <table><tbody> when applicable instead of <div>.

Possible TODO: when the template is:

<tbody>
   <tr>
      ...
   </tr>
</tbody>

Original issue reported on code.google.com by rcmachado on 14 Dec 2009 at 12:44

GoogleCodeExporter commented 8 years ago
Correct patch (the previous one genreates an error in IE)

Original comment by rcmachado on 14 Dec 2009 at 2:53

Attachments:

GoogleCodeExporter commented 8 years ago
Unfortunately, we currently cannot accept user patches. If there is enough 
demand for
this functionality, either within Google or from external users, then we will
implement it. But as of right now, there is no plan to add this to soyutils.js.

Original comment by kai.hu...@gmail.com on 14 Dec 2009 at 10:21