isSpace reports whether c is ASCII whitespace, which is what ends an unbracketed markdown destination.
(c byte)
| 748 | // isSpace reports whether c is ASCII whitespace, which is what ends an |
| 749 | // unbracketed markdown destination. |
| 750 | func isSpace(c byte) bool { |
| 751 | return c == ' ' || c == '\t' || c == '\n' || c == '\r' |
| 752 | } |
| 753 | |
| 754 | // edit describes a replacement of a byte range of the markdown. |
| 755 | type edit struct { |
no outgoing calls
no test coverage detected