diff options
| author | Teddy Wing | 2014-11-13 04:46:55 -0500 |
|---|---|---|
| committer | Teddy Wing | 2014-11-13 04:46:55 -0500 |
| commit | 7c6d29d9558d1aee3dc4e9258523362532302287 (patch) | |
| tree | 548407cfece114f3ce7e07b9b6698b8565addda6 /unxhtmlify.go | |
| parent | a5e49ca0ba59da7ae9ea304c9c44f4ae0f325444 (diff) | |
| download | unXHTMLify-7c6d29d9558d1aee3dc4e9258523362532302287.tar.bz2 | |
Add `unxhtmlify_line` function & basic test
Create a function stub that will remove the slash from self-closing HTML
tags. Add a basic test that for now just tests the <br /> element.
Diffstat (limited to 'unxhtmlify.go')
| -rw-r--r-- | unxhtmlify.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unxhtmlify.go b/unxhtmlify.go index cf1ed90..97c29d7 100644 --- a/unxhtmlify.go +++ b/unxhtmlify.go @@ -15,3 +15,7 @@ func main() { fmt.Fprintf(os.Stderr, "reading standard input", err) } } + +func unxhtmlify_line(s string) string { + return s +} |
