summaryrefslogtreecommitdiff
path: root/handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'handlers.go')
-rw-r--r--handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers.go b/handlers.go
index d89f27b..3c37086 100644
--- a/handlers.go
+++ b/handlers.go
@@ -132,7 +132,7 @@ func parseGemtextDoc(body []byte, softWrap int) (string, []Link, error) {
links := 0
for _, item := range gemdoc {
- if item.Type() == gemtext.LineTypeLink {
+ if item.Type() == gemtext.LineTypeLink || item.Type() == gemtext.LineTypePrompt {
links += 1
}
}