testtextwhitespace

package
v0.2.227 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 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>`

GoExpression

View Source
const WhiteSpaceAroundValuesExpected = `<p>templ allows strings to be included in sentences.</p>`

GoExpression

View Source
const WhiteSpaceInHTMLIsNormalisedExpected = `<p>newlines and other whitespace are stripped but it is normalised like HTML.</p>`

GoExpression

View Source
const WhitespaceIsAddedWithinTemplStatementsExpected = `<p>This is some text. So is this.</p>`

GoExpression

Variables

This section is empty.

Functions

func InlineElementsAreNotPadded

func InlineElementsAreNotPadded() 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