isSpace reports whether c is ASCII whitespace, which is what ends an unbracketed markdown destination.
(c byte)
| 711 | // isSpace reports whether c is ASCII whitespace, which is what ends an |
| 712 | // unbracketed markdown destination. |
| 713 | func isSpace(c byte) bool { |
| 714 | return c == ' ' || c == '\t' || c == '\n' || c == '\r' |
| 715 | } |
| 716 | |
| 717 | // edit describes a replacement of a byte range of the markdown. |
| 718 | type edit struct { |
no outgoing calls
no test coverage detected