Skip to content

Commit

Permalink
Arkani: Can now use ] anywhere not at the end of a link
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Manuel K. Gloria committed Mar 20, 2008
1 parent cd49381 commit 4e8ee30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wiki-arc/wiki-arc.arc
Original file line number Diff line number Diff line change
Expand Up @@ -346,13 +346,13 @@
; should really be (many anything), however parsecomb.arc
; currently does not do backtracking on 'many
(seq open-br
(sem on-plain-wiki-link (many (anything-but #\| #\])))
(sem on-plain-wiki-link (many (anything-but #\| close-br)))
close-br))
(= joined-wiki-link
(seq open-br
(sem on-article-wiki-link (many (anything-but #\|)))
#\|
(sem on-text-wiki-link (many (anything-but #\])))
(sem on-text-wiki-link (many (anything-but close-br)))
close-br))
(= formatting
(alt
Expand Down Expand Up @@ -546,7 +546,7 @@
('li
('(a href (+ "?title=" (urlencode p) "&action=edit"))
('b (pr "Start the ")
('i (pr (eschtml p)))
('i (pr (eschtml (_->space p))))
(pr " article")))
(pr ".")))))
display-content
Expand Down

0 comments on commit 4e8ee30

Please sign in to comment.