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
x/net/html: Tokenizer cannot round-trip <script> tag contents #7929
Milestone
Comments
Labels changed: added repo-net. Owner changed to @nigeltao. Status changed to Accepted. |
mikioh
changed the title
code.google.com/p/go.net/html: Tokenizer cannot round-trip <script> tag contents
x/net/html: Tokenizer cannot round-trip <script> tag contents
Dec 23, 2014
mikioh
changed the title
x/net/html: Tokenizer cannot round-trip <script> tag contents
html: Tokenizer cannot round-trip <script> tag contents
Jan 4, 2015
rsc
changed the title
html: Tokenizer cannot round-trip <script> tag contents
x/net/html: Tokenizer cannot round-trip <script> tag contents
Apr 14, 2015
evanj
added a commit
to evanj/kubewebproxy
that referenced
this issue
Jan 20, 2020
evanj
added a commit
to evanj/kubewebproxy
that referenced
this issue
Jan 20, 2020
evanj
added a commit
to evanj/kubewebproxy
that referenced
this issue
Jan 20, 2020
The workaround I'm using is to use var content string
if tokenType == html.TextToken {
content = t.Data
} else {
content = t.String()
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
by martin@probst.io:
Attachments:
The text was updated successfully, but these errors were encountered: