BTagChecker

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: Unlicense Imports: 4 Imported by: 0

README

Usage

BTagChecker allows you to check if the tags used within the provided string has any unclosed tags. Great if someone modified some html and broke the header tag without your knowledge

Example

import "github.com/exts/BTagChecker"

func main() {
	if BTagChecker.HasValidClosingTags("<b>aye") {
		println("up")
	} else {
		println("oh no someone broke the html in your code")
	}
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasValidClosingTags

func HasValidClosingTags(content string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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