Skip to content
New issue

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

sanitize options does not work in code #287

Closed
l2x opened this issue Nov 14, 2013 · 1 comment
Closed

sanitize options does not work in code #287

l2x opened this issue Nov 14, 2013 · 1 comment

Comments

@l2x
Copy link

l2x commented Nov 14, 2013

for {
        // read a chunk
        n, err := fi.Read(buf)
        if err != nil && err != io.EOF { panic(err) }
        if n == 0 { break }

        // write a chunk
        if _, err := fo.Write(buf[:n]); err != nil {
            panic(err)
        }
    }
}

it always escape & to & amp;

@joshbruce
Copy link
Member

Closing as stale and not part of our current focus. See #1106 and #1216.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants