testtextwhitespace

package
v0.2.680 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const InlineElementsAreNotPaddedExpected = `<p>Inline text <b>is spaced properly</b> without adding extra spaces.</p>`
View Source
const WhiteSpaceAroundTemplatedValuesExpected = `<div>templ allows whitespace around templated values.</div>`
View Source
const WhiteSpaceAroundValuesExpected = `<p>templ allows strings to be included in sentences.</p>`
View Source
const WhiteSpaceInHTMLIsNormalisedExpected = `<p>newlines and other whitespace are stripped but it is normalised like HTML.</p>`
View Source
const WhitespaceIsAddedWithinTemplStatementsExpected = `<p>This is some text. So is this.</p>`

Variables

This section is empty.

Functions

func InlineElementsAreNotPadded

func InlineElementsAreNotPadded() templ.Component

func WhiteSpaceAroundTemplatedValues added in v0.2.364

func WhiteSpaceAroundTemplatedValues(prefix, statement string) templ.Component

func WhiteSpaceAroundValues

func WhiteSpaceAroundValues() templ.Component

func WhiteSpaceInHTMLIsNormalised

func WhiteSpaceInHTMLIsNormalised() templ.Component

func WhitespaceIsAddedWithinTemplStatements

func WhitespaceIsAddedWithinTemplStatements() templ.Component

Types

This section is empty.

Jump to

Keyboard shortcuts

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