summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gomarkdown/markdown/parser/block.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gomarkdown/markdown/parser/block.go')
-rw-r--r--vendor/github.com/gomarkdown/markdown/parser/block.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/github.com/gomarkdown/markdown/parser/block.go b/vendor/github.com/gomarkdown/markdown/parser/block.go
index 7c2401f1..eda9be7a 100644
--- a/vendor/github.com/gomarkdown/markdown/parser/block.go
+++ b/vendor/github.com/gomarkdown/markdown/parser/block.go
@@ -909,18 +909,18 @@ func syntaxRange(data []byte, iout *int) (int, int) {
// strip all whitespace at the beginning and the end
// of the {} block
- for syn > 0 && isSpace(data[syntaxStart]) {
+ for syn > 0 && IsSpace(data[syntaxStart]) {
syntaxStart++
syn--
}
- for syn > 0 && isSpace(data[syntaxStart+syn-1]) {
+ for syn > 0 && IsSpace(data[syntaxStart+syn-1]) {
syn--
}
i++
} else {
- for i < n && !isSpace(data[i]) {
+ for i < n && !IsSpace(data[i]) {
syn++
i++
}
@@ -1767,7 +1767,7 @@ func skipUntilChar(data []byte, i int, c byte) int {
func skipAlnum(data []byte, i int) int {
n := len(data)
- for i < n && isAlnum(data[i]) {
+ for i < n && IsAlnum(data[i]) {
i++
}
return i
@@ -1775,7 +1775,7 @@ func skipAlnum(data []byte, i int) int {
func skipSpace(data []byte, i int) int {
n := len(data)
- for i < n && isSpace(data[i]) {
+ for i < n && IsSpace(data[i]) {
i++
}
return i