We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting
Panic - tree has lost its integrity
when run following program:
package main import ( "fmt" "log" "github.com/JalfResi/GoTidy" ) func main() { t := tidy.New() defer t.Free() t.InputXml(true) t.OutputXml(true) t.AddXmlDecl(true) // Without this option everything is OK. output, err := t.Tidy("test") if err != nil { log.Fatal(err, output) } fmt.Println(output) }
I guess this is libtidy issue, but probably you can change Go program to not exit when libtidy can't parse XML.
The text was updated successfully, but these errors were encountered:
Wow! That's a doozy! I'll look into this and try and fix this so that it doesn't panic.
Sorry, something went wrong.
JalfResi
No branches or pull requests
I am getting
when run following program:
I guess this is libtidy issue, but probably you can change Go program to not exit when libtidy can't parse XML.
The text was updated successfully, but these errors were encountered: