aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 5b6fdbd83ab61e9a63b99b4a8749e93a37552f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
unXHTMLify
==========

Removes slashes from self-closing HTML elements.

	<br />

becomes

	<br>

Currently the implementation is very simplistic and liberal. Any `/>` will get replaced to remove the slash.

Takes input from STDIN and outputs to STDOUT.


## Installing

	$ go get github.com/teddywing/unXHTMLify
	$ cd $GOPATH/src/github.com/teddywing/unXHTMLify
	$ go install


## Running
Pipe an HTML file into `unXHTMLify` to convert the file:

	$ cat sample.html | unXHTMLify > sample-converted.html


## License
Licensed under the MIT license. See the included LICENSE file.