Skip to content

Commit 2244025

Browse files
committed
Merge branch 'master' of github.com:yitang/voca-builder
2 parents 533a88b + 984aebe commit 2244025

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

voca-builder.el

+3-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ if begining is non-nil, return the point at the begining of the tag, instead of
140140
"\" />")
141141
short-meaning))
142142
(long-meaning (voca-builder/html-find-content-of-tags "<p class=\"long\">"
143-
"</p>")))
143+
"</p>"))
144+
(long-meaning (if (eq 0 (length long-meaning)) ;; if it has no long meanings
145+
"nil") ))
144146
(if (string-match-p "Try the world&#039;s fastest, smartest dictionary:" short-meaning)
145147
(cons "No meaning found"
146148
"No meaning found")

0 commit comments

Comments
 (0)