Open Instance Methodscinfu.swiftsoup 2.8.7SwiftSoup
normalizeTag(_:)
ParseSettings.swift:42func normalizeTag(_ name: String) -> String
func normalizeTag(_ name: String) -> String
import SwiftSoup
class ParseSettings
@frozen struct String
A Unicode string value that is a collection of characters.
init(_ tag: Bool, _ attribute: Bool)
Define parse settings.
static let htmlDefault: ParseSettings
HTML default settings: both tag and attribute names are lower-cased during parsing.
static let preserveCase: ParseSettings
Preserve both tag and attribute case.
func normalizeAttribute(_ name: String) -> String
func normalizeAttribute(_ name: [UInt8]) -> [UInt8]
func normalizeAttributes(_ attributes: Attributes) throws -> Attributes
func normalizeTag(_ name: [UInt8]) -> [UInt8]