gregwebs / hamlet.js

Javascript template language with DRY HTML
Other
36 stars 4 forks source link

Fixed bug with emptyTags (see below) #2

Closed maxcan closed 10 years ago

maxcan commented 10 years ago

Empty tags were casing a bit of a problem.

Given the file:

<template name="tmpl">
  <form >
    <input required="1" type="text" name="sdfsd">
    <input required="1" type="text" name="fo">

we'd get the following output:

<template name="tmpl"><form ><input/></form><input/>  </template>'

the pull req should fix it.

gregwebs commented 10 years ago

awesome. Before I pull I need to

maxcan commented 10 years ago

https://github.com/maxcan/meteor-hamlet-handlebars

On Mon, Jul 29, 2013 at 10:47 AM, Greg Weber notifications@github.comwrote:

awesome. Before I pull I need to

  • add the test case
  • link to your atmosphere package

— Reply to this email directly or view it on GitHubhttps://github.com/gregwebs/hamlet.js/pull/2#issuecomment-21737634 .

gregwebs commented 10 years ago

Thanks, I merged this manually.