mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 13:49:17 +02:00
Handling periods in tags when extracting the first doc sentence.
This commit is contained in:
parent
f71d3e18bd
commit
7fa00eb48a
1 changed files with 4 additions and 1 deletions
|
@ -365,7 +365,10 @@
|
||||||
(else '()))))
|
(else '()))))
|
||||||
|
|
||||||
(define package-description
|
(define package-description
|
||||||
(let ((sent-re (regexp '(: "<p>" (* "\n") (* space) ($ (* (~ ("."))) "."))))
|
(let ((sent-re (regexp '(: "<p>" (* "\n") (* space)
|
||||||
|
($ (* (or (: "<" (* (~ (">"))) ">")
|
||||||
|
(~ ("<."))))
|
||||||
|
"."))))
|
||||||
(space-re (regexp '(or (: (* space) "\n" (* space)) (>= 2 space))))
|
(space-re (regexp '(or (: (* space) "\n" (* space)) (>= 2 space))))
|
||||||
(tag-re (regexp '(: "<" (? "/") (* (~ ("<>"))) ">"))))
|
(tag-re (regexp '(: "<" (? "/") (* (~ ("<>"))) ">"))))
|
||||||
(lambda (cfg spec libs docs)
|
(lambda (cfg spec libs docs)
|
||||||
|
|
Loading…
Add table
Reference in a new issue