Versions in this module Expand all Collapse all v0 v0.0.3 May 8, 2023 Changes in this version + const InnocuousPropertyValue + const InnocuousURL + type HTML struct + func HTMLConcat(htmls ...HTML) HTML + func HTMLEscaped(text string) HTML + func (h HTML) String() string + type HTMLer interface + HTML func() HTML + type Identifier struct + func IdentifierFromConstant(value stringConstant) Identifier + func IdentifierFromConstantPrefix(prefix stringConstant, value string) Identifier + func (i Identifier) String() string + type Script struct + func ScriptFromConstant(script stringConstant) Script + func ScriptFromDataAndConstant(name stringConstant, data interface{}, script stringConstant) (Script, error) + func (s Script) String() string + type Style struct + func StyleFromConstant(style stringConstant) Style + func StyleFromProperties(properties StyleProperties) Style + func (s Style) String() string + type StyleProperties struct + BackgroundColor string + BackgroundImageURLs []string + BackgroundPosition string + BackgroundRepeat string + BackgroundSize string + Bottom string + Color string + Display string + FontFamily []string + FontWeight string + Height string + Left string + Padding string + Right string + Top string + Width string + ZIndex string + type StyleSheet struct + func CSSRule(selector string, style Style) (StyleSheet, error) + func StyleSheetFromConstant(styleSheet stringConstant) StyleSheet + func (s StyleSheet) String() string + type TrustedResourceURL struct + func TrustedResourceURLAppend(t TrustedResourceURL, s string) (TrustedResourceURL, error) + func TrustedResourceURLFormatFromConstant(format stringConstant, args map[string]string) (TrustedResourceURL, error) + func TrustedResourceURLFormatFromFlag(format flag.Value, args map[string]string) (TrustedResourceURL, error) + func TrustedResourceURLFromConstant(url stringConstant) TrustedResourceURL + func TrustedResourceURLFromFlag(value flag.Value) TrustedResourceURL + func TrustedResourceURLWithParams(t TrustedResourceURL, params map[string]string) TrustedResourceURL + func (t TrustedResourceURL) String() string + type URL struct + func URLSanitized(url string) URL + func (u URL) String() string + type URLSet struct + func URLSetSanitized(str string) URLSet + func (s URLSet) String() string