publichtml

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package publichtml prepares stored block content for public delivery.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(content string) template.HTML

Render returns content as public page markup, with the block delimiters removed.

func Sanitize

func Sanitize(content string) string

Sanitize returns content carrying only markup a public page may serve, block delimiters intact.

Types

This section is empty.

Jump to

Keyboard shortcuts

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