Skip to content

Commit

Permalink
Cleaning out debug comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Stingl committed Jan 24, 2018
1 parent c12cfd0 commit c6cf9a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ func (t Tag) String() string {
bb.WriteString(parseTagEmbed(bt))
}

// Function for opening tag BEGIN
bb.WriteString("<")
bb.WriteString(t.Name)
if len(t.Options) > 0 {
Expand All @@ -91,7 +90,7 @@ func (t Tag) String() string {
}
if len(t.Body) > 0 {
bb.WriteString(">")
// Function for opening tag END - if body

for _, b := range t.Body {
bb.WriteString(parseTagEmbed(b))
}
Expand All @@ -107,7 +106,6 @@ func (t Tag) String() string {
return bb.String()
}
if !strings.Contains(voidTags, " "+t.Name+" ") {
// Function for opening tag END - if no body
bb.WriteString("></")
bb.WriteString(t.Name)
bb.WriteString(">")
Expand Down

0 comments on commit c6cf9a3

Please sign in to comment.