Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MeneDev committed Dec 2, 2024
1 parent 505d267 commit cb45118
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/xml/xml.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
package xml

import (
"encoding/xml"
"fmt"
"io"
"regexp"
Expand Down Expand Up @@ -254,6 +255,5 @@ func (n *xmlNode) writeTag(w io.Writer, indent uint8, attributes string, openTag

// writeValue prints XML value into io.Writer
func (n *xmlNode) writeValue(w io.Writer, value string) {
util.Fprintf(w, "%s", value)
//xml.EscapeText(w, []byte(value))
_ = xml.EscapeText(w, []byte(value))
}

0 comments on commit cb45118

Please sign in to comment.