Skip to content

Commit

Permalink
Add mising bang to xml comments after sanity check revealed the lack.
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviusb committed Mar 3, 2011
1 parent ad5be9d commit 6e9a703
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/xml_spec.ik
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ describe(XML,
'(electro
//bass sound(gravel: "true") "wubwubwub"
bass sound(gravel: "false") "oontzoontzoontz")
)) should == #[<electro><-- <bass><sound gravel="true">wubwubwub</sound></bass> --><bass><sound gravel="false">oontzoontzoontz</sound></bass></electro>]
)) should == #[<electro><!-- <bass><sound gravel="true">wubwubwub</sound></bass> --><bass><sound gravel="false">oontzoontzoontz</sound></bass></electro>]
)
)
2 changes: 1 addition & 1 deletion xml.ik
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ XML = Origin mimic do(
:"", render(msg arguments [0]),
:".", if(stack length > 1, stack pop!, ""),
:^, render:tag(repbody(msg, uncamel(msg mimic arguments [0]))),
://, "<-- #{render(msg arguments [0])} -->",
://, "<!-- #{render(msg arguments [0])} -->",
else, render:tag(msg))
)
temp + (stack reverse join)
Expand Down

0 comments on commit 6e9a703

Please sign in to comment.