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

html: sync changes from x/net #66970

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Apr 22, 2024

  1. exp/html: Convert \r and \r\n to \n when tokenizing

    Also escape "\r" as "&golang#13;" when rendering HTML.
    
    Pass 2 additional tests.
    
    R=nigeltao
    CC=golang-dev
    https://golang.org/cl/6260046
    
    Cherry-picked-from: 4e0749a
    Andrew Balholm authored and LukeShu committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    0940a8d View commit details
    Browse the repository at this point in the history
  2. x/net/html: Sync the html parser and atom with the current whatwg spec

    The current documentation as well as set of atoms and attributes has
    gotten slightly out of sync with the current state of the WHATWG
    html5 specification. The change adds and removes several of the atoms
    and attributes, updates the documentation (such as steps numbering in
    inBodyEndTagFormatting) and modifies the spec URLs to https://
    
    Change-Id: I6dfa52785858c1521301b20b1e585e19a08b1e98
    Reviewed-on: https://go-review.googlesource.com/6173
    Reviewed-by: Nigel Tao <nigeltao@golang.org>
    
    Cherry-picked-from: golang/net@3d87fd6
    dmitris authored and LukeShu committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    af7627f View commit details
    Browse the repository at this point in the history