aboutsummaryrefslogtreecommitdiffstats
path: root/unxhtmlify.go
diff options
context:
space:
mode:
authorTeddy Wing2014-11-13 05:03:36 -0500
committerTeddy Wing2014-11-13 05:03:36 -0500
commit4d7bc0f5899a74db328b779f7a7d5ad3ffa57831 (patch)
tree4c761f00b2513819dc220dd55a049111a01d4970 /unxhtmlify.go
parent7c6d29d9558d1aee3dc4e9258523362532302287 (diff)
downloadunXHTMLify-4d7bc0f5899a74db328b779f7a7d5ad3ffa57831.tar.bz2
unxhtmlify.go: Fill in `unxhtmlify_line`
Do a string replacement to delete " /" from the input.
Diffstat (limited to 'unxhtmlify.go')
-rw-r--r--unxhtmlify.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/unxhtmlify.go b/unxhtmlify.go
index 97c29d7..4e7b175 100644
--- a/unxhtmlify.go
+++ b/unxhtmlify.go
@@ -4,6 +4,7 @@ import (
"bufio"
"fmt"
"os"
+ "strings"
)
func main() {
@@ -17,5 +18,5 @@ func main() {
}
func unxhtmlify_line(s string) string {
- return s
+ return strings.Replace(s, " /", "", 1)
}