don't export some internal BBCode parsing utility functions and run gofmt to prettify code
run gofmt with -s to simplify code