htmltestutil

package
v0.0.68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareNodes

func CompareNodes(n1, n2 *html.Node) bool

CompareNodes checks if two nodes are structurally equivalent (ignoring attribute order).

func ParseHTML

func ParseHTML(input string) (*html.Node, error)

ParseHTML parses an HTML string into a node.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL